Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dashboard sample #7

Closed
Kami-no opened this issue Jan 9, 2018 · 10 comments
Closed

Add dashboard sample #7

Kami-no opened this issue Jan 9, 2018 · 10 comments

Comments

@Kami-no
Copy link

Kami-no commented Jan 9, 2018

Please add a dashboard sample json with maximum data available.

@paulfantom
Copy link

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! 🎉

@moh-abk
Copy link

moh-abk commented Feb 2, 2018

Please provide a basic dashboard 😅

@SPFZ
Copy link

SPFZ commented Feb 7, 2018

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
}

@daixiang0
Copy link

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

@SPFZ
Copy link

SPFZ commented Sep 19, 2018

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

@daixiang0
Copy link

daixiang0 commented Sep 20, 2018

@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.

@moh-abk
Copy link

moh-abk commented Sep 20, 2018

@daixiang0 can you share yours?

@daixiang0
Copy link

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

@kstrat
Copy link

kstrat commented Oct 2, 2018

Thanks for sharing that dashboard!

@xuanyuanaosheng
Copy link

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

@Kami-no Kami-no closed this as completed Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants