Git Product home page Git Product logo

Comments (10)

daixiang0 avatar daixiang0 commented on May 20, 2024 9

I have published as https://grafana.com/dashboards/8010

from grafana-prometheus-alertmanager-datasource.

xuanyuanaosheng avatar xuanyuanaosheng commented on May 20, 2024 7

The dashboard in the repo looks beautiful, could you please help to update it?

from grafana-prometheus-alertmanager-datasource.

daixiang0 avatar daixiang0 commented on May 20, 2024 1

I am interested in the graph in the README, who create it? Could share us?

from grafana-prometheus-alertmanager-datasource.

daixiang0 avatar daixiang0 commented on May 20, 2024 1

@SPFZ Yes, i recreate it.
But still consider that put a simaple json in this repo is better for bare new users.
If could, i would like to add a PR to share this.

from grafana-prometheus-alertmanager-datasource.

paulfantom avatar paulfantom commented on May 20, 2024

I just found this project and I am considering adding this app to Cloud Alchemy public demo site but I really don't have time to create a dashboard. If someone could provide an example dashboard we could spread the word about this awesome project! 🎉

from grafana-prometheus-alertmanager-datasource.

moh-abk avatar moh-abk commented on May 20, 2024

Please provide a basic dashboard 😅

from grafana-prometheus-alertmanager-datasource.

SPFZ avatar SPFZ commented on May 20, 2024

minimal start dashboard, if you have problems:

{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": null,
  "graphTooltip": 0,
  "hideControls": false,
  "id": 1,
  "links": [],
  "rows": [
    {
      "collapse": false,
      "height": 250,
      "panels": [
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "alertmanager",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 2,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 12,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "Message",
          "targets": [
            {
              "annotations": false,
              "expr": "alertname=\"HighErrorRate\"",
              "legendFormat": "",
              "refId": "A",
              "target": "Query",
              "type": "single"
            }
          ],
          "thresholds": "",
          "title": "HighErrorRate as single stat",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "avg"
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 250,
      "panels": [
        {
          "columns": [],
          "datasource": "alertmanager",
          "fontSize": "100%",
          "id": 3,
          "links": [],
          "pageSize": null,
          "scroll": true,
          "showHeader": true,
          "sort": {
            "col": 0,
            "desc": true
          },
          "span": 12,
          "styles": [
            {
              "alias": "Time",
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "pattern": "Time",
              "type": "date"
            },
            {
              "alias": "",
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "decimals": 2,
              "pattern": "/.*/",
              "thresholds": [],
              "type": "number",
              "unit": "short"
            }
          ],
          "targets": [
            {
              "annotations": true,
              "expr": "alertname=\"$alertname\"",
              "hide": false,
              "legendFormat": "{{ summary }}",
              "refId": "B",
              "target": "Query",
              "type": "table"
            }
          ],
          "title": "HighErrorRate as a table",
          "transform": "table",
          "type": "table"
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 250,
      "panels": [
        {
          "columns": [],
          "datasource": "alertmanager",
          "fontSize": "100%",
          "id": 4,
          "links": [],
          "pageSize": null,
          "scroll": true,
          "showHeader": true,
          "sort": {
            "col": 0,
            "desc": true
          },
          "span": 12,
          "styles": [
            {
              "alias": "Time",
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "pattern": "Time",
              "type": "date"
            },
            {
              "alias": "",
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "decimals": 2,
              "pattern": "/.*/",
              "thresholds": [],
              "type": "number",
              "unit": "short"
            }
          ],
          "targets": [
            {
              "annotations": true,
              "expr": "",
              "hide": false,
              "legendFormat": "{{ summary }}",
              "refId": "A",
              "target": "Query",
              "type": "table"
            },
            {
              "annotations": false,
              "expr": "",
              "hide": true,
              "legendFormat": "{{ instance }}",
              "refId": "B",
              "target": "Query",
              "type": "table"
            }
          ],
          "title": "All Alerts",
          "transform": "table",
          "type": "table"
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "New dashboard Copy",
  "version": 6
}

from grafana-prometheus-alertmanager-datasource.

SPFZ avatar SPFZ commented on May 20, 2024

@daixiang0: It was done by @cryptobioz, it should not be so hard to recreate it yourself

from grafana-prometheus-alertmanager-datasource.

moh-abk avatar moh-abk commented on May 20, 2024

@daixiang0 can you share yours?

from grafana-prometheus-alertmanager-datasource.

kstrat avatar kstrat commented on May 20, 2024

Thanks for sharing that dashboard!

from grafana-prometheus-alertmanager-datasource.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.