Created
January 5, 2017 08:09
-
-
Save andrewhowdencom/d0ecef0d72f673b005056b354c5d9225 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 1, | |
"title": "Alerts", | |
"tags": [], | |
"style": "dark", | |
"timezone": "browser", | |
"editable": true, | |
"sharedCrosshair": false, | |
"hideControls": false, | |
"time": { | |
"from": "now-6h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"enable": false, | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
], | |
"type": "timepicker" | |
}, | |
"templating": { | |
"list": [] | |
}, | |
"annotations": { | |
"list": [] | |
}, | |
"schemaVersion": 13, | |
"version": 3, | |
"links": [], | |
"gnetId": null, | |
"rows": [ | |
{ | |
"title": "Row title", | |
"panels": [ | |
{ | |
"content": "<div class=\"text-center dashboard-header\">\n <span>Home Dashboard</span>\n</div>", | |
"editable": true, | |
"id": 1, | |
"links": [], | |
"mode": "html", | |
"span": 12, | |
"style": {}, | |
"title": "", | |
"transparent": true, | |
"type": "text" | |
} | |
], | |
"showTitle": false, | |
"titleSize": "h6", | |
"height": 32, | |
"repeat": null, | |
"repeatRowId": null, | |
"repeatIteration": null, | |
"collapse": false | |
}, | |
{ | |
"title": "Dashboard Row", | |
"panels": [ | |
{ | |
"columns": [ | |
{ | |
"text": "Count", | |
"value": "count" | |
} | |
], | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fontSize": "100%", | |
"id": 2, | |
"links": [], | |
"pageSize": null, | |
"scroll": true, | |
"showHeader": true, | |
"sort": { | |
"col": 0, | |
"desc": true | |
}, | |
"span": 12, | |
"styles": [ | |
{ | |
"colorMode": "row", | |
"colors": [ | |
"rgba(50, 172, 45, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(255, 0, 0, 0.9)" | |
], | |
"decimals": 0, | |
"pattern": "/.*/", | |
"thresholds": [ | |
"1" | |
], | |
"type": "number", | |
"unit": "none" | |
} | |
], | |
"targets": [ | |
{ | |
"expr": "ALERTS{alertstate=\"firing\"} == 1", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{alertname}} - {{instance}}", | |
"metric": "ALERTS", | |
"refId": "A", | |
"step": 20 | |
} | |
], | |
"title": "Alerts", | |
"transform": "timeseries_aggregations", | |
"transparent": false, | |
"type": "table" | |
} | |
], | |
"showTitle": false, | |
"titleSize": "h6", | |
"height": 250, | |
"repeat": null, | |
"repeatRowId": null, | |
"repeatIteration": null, | |
"collapse": false | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment