Last active
April 21, 2017 10:23
-
-
Save marcingrzejszczak/27a3be6ccfa2458e982344db062a40b3 to your computer and use it in GitHub Desktop.
Grafana & Prometheus - Spring Cloud Pipelines demo
This file contains hidden or 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
{ | |
"annotations": { | |
"list": [] | |
}, | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 0, | |
"hideControls": false, | |
"id": 2, | |
"links": [], | |
"refresh": "5s", | |
"rows": [ | |
{ | |
"collapse": false, | |
"height": "250px", | |
"panels": [ | |
{ | |
"alert": { | |
"conditions": [ | |
{ | |
"evaluator": { | |
"params": [ | |
4 | |
], | |
"type": "lt" | |
}, | |
"operator": { | |
"type": "and" | |
}, | |
"query": { | |
"datasourceId": 1, | |
"model": { | |
"expr": "gauge_issues_count", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "no_of_issues", | |
"metric": "gauge_issues_count", | |
"refId": "A", | |
"step": 2 | |
}, | |
"params": [ | |
"A", | |
"1m", | |
"now" | |
] | |
}, | |
"reducer": { | |
"params": [], | |
"type": "last" | |
}, | |
"type": "query" | |
} | |
], | |
"executionErrorState": "alerting", | |
"frequency": "1s", | |
"handler": 1, | |
"message": "Number of issues is not satisfactory", | |
"name": "Enough Issues", | |
"noDataState": "alerting", | |
"notifications": [ | |
{ | |
"id": 1 | |
} | |
] | |
}, | |
"aliasColors": {}, | |
"bars": false, | |
"datasource": null, | |
"fill": 1, | |
"id": 1, | |
"legend": { | |
"alignAsTable": false, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"span": 12, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "gauge_issues_count", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "no_of_issues", | |
"metric": "gauge_issues_count", | |
"refId": "A", | |
"step": 2 | |
} | |
], | |
"thresholds": [ | |
{ | |
"colorMode": "critical", | |
"fill": true, | |
"line": true, | |
"op": "lt", | |
"value": 4 | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Number of issues", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
] | |
} | |
], | |
"repeat": null, | |
"repeatIteration": null, | |
"repeatRowId": null, | |
"showTitle": false, | |
"title": "Dashboard Row", | |
"titleSize": "h6" | |
} | |
], | |
"schemaVersion": 14, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [] | |
}, | |
"time": { | |
"from": "now-5m", | |
"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": "browser", | |
"title": "demo", | |
"version": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment