mirror of https://github.com/grafana/grafana
parent
8d5857661e
commit
a4648607bb
@ -0,0 +1,286 @@ |
||||
{ |
||||
"title": "TestData - Alerts", |
||||
"tags": [ |
||||
"grafana-test" |
||||
], |
||||
"style": "dark", |
||||
"timezone": "browser", |
||||
"editable": true, |
||||
"hideControls": false, |
||||
"sharedCrosshair": false, |
||||
"rows": [ |
||||
{ |
||||
"collapse": false, |
||||
"editable": true, |
||||
"height": 255.625, |
||||
"panels": [ |
||||
{ |
||||
"alert": { |
||||
"conditions": [ |
||||
{ |
||||
"evaluator": { |
||||
"params": [ |
||||
111 |
||||
], |
||||
"type": "gt" |
||||
}, |
||||
"query": { |
||||
"params": [ |
||||
"A", |
||||
"5m", |
||||
"now" |
||||
] |
||||
}, |
||||
"reducer": { |
||||
"params": [], |
||||
"type": "avg" |
||||
}, |
||||
"type": "query" |
||||
} |
||||
], |
||||
"enabled": true, |
||||
"frequency": "60s", |
||||
"handler": 1, |
||||
"name": "Should always be green", |
||||
"noDataState": "no_data", |
||||
"notifications": [] |
||||
}, |
||||
"aliasColors": {}, |
||||
"bars": false, |
||||
"datasource": "Grafana TestData", |
||||
"editable": true, |
||||
"error": false, |
||||
"fill": 1, |
||||
"id": 3, |
||||
"isNew": true, |
||||
"legend": { |
||||
"avg": false, |
||||
"current": false, |
||||
"max": false, |
||||
"min": false, |
||||
"show": true, |
||||
"total": false, |
||||
"values": false |
||||
}, |
||||
"lines": true, |
||||
"linewidth": 2, |
||||
"links": [], |
||||
"nullPointMode": "connected", |
||||
"percentage": false, |
||||
"pointradius": 5, |
||||
"points": false, |
||||
"renderer": "flot", |
||||
"seriesOverrides": [], |
||||
"span": 6, |
||||
"stack": false, |
||||
"steppedLine": false, |
||||
"targets": [ |
||||
{ |
||||
"refId": "A", |
||||
"scenario": "random_walk", |
||||
"scenarioId": "csv_metric_values", |
||||
"target": "", |
||||
"stringInput": "1,20,90,30,5,0" |
||||
} |
||||
], |
||||
"thresholds": [ |
||||
{ |
||||
"colorMode": "critical", |
||||
"fill": true, |
||||
"line": true, |
||||
"op": "gt", |
||||
"value": 111 |
||||
} |
||||
], |
||||
"timeFrom": null, |
||||
"timeShift": null, |
||||
"title": "Always OK", |
||||
"tooltip": { |
||||
"msResolution": false, |
||||
"shared": true, |
||||
"sort": 0, |
||||
"value_type": "cumulative" |
||||
}, |
||||
"type": "graph", |
||||
"xaxis": { |
||||
"mode": "time", |
||||
"name": null, |
||||
"show": true, |
||||
"values": [] |
||||
}, |
||||
"yaxes": [ |
||||
{ |
||||
"format": "short", |
||||
"label": "", |
||||
"logBase": 1, |
||||
"max": "125", |
||||
"min": "0", |
||||
"show": true |
||||
}, |
||||
{ |
||||
"format": "short", |
||||
"label": null, |
||||
"logBase": 1, |
||||
"max": null, |
||||
"min": null, |
||||
"show": true |
||||
} |
||||
] |
||||
}, |
||||
{ |
||||
"alert": { |
||||
"conditions": [ |
||||
{ |
||||
"evaluator": { |
||||
"params": [ |
||||
177 |
||||
], |
||||
"type": "gt" |
||||
}, |
||||
"query": { |
||||
"params": [ |
||||
"A", |
||||
"5m", |
||||
"now" |
||||
] |
||||
}, |
||||
"reducer": { |
||||
"params": [], |
||||
"type": "avg" |
||||
}, |
||||
"type": "query" |
||||
} |
||||
], |
||||
"enabled": true, |
||||
"frequency": "60s", |
||||
"handler": 1, |
||||
"name": "Always Alerting", |
||||
"noDataState": "no_data", |
||||
"notifications": [] |
||||
}, |
||||
"aliasColors": {}, |
||||
"bars": false, |
||||
"datasource": "Grafana TestData", |
||||
"editable": true, |
||||
"error": false, |
||||
"fill": 1, |
||||
"id": 4, |
||||
"isNew": true, |
||||
"legend": { |
||||
"avg": false, |
||||
"current": false, |
||||
"max": false, |
||||
"min": false, |
||||
"show": true, |
||||
"total": false, |
||||
"values": false |
||||
}, |
||||
"lines": true, |
||||
"linewidth": 2, |
||||
"links": [], |
||||
"nullPointMode": "connected", |
||||
"percentage": false, |
||||
"pointradius": 5, |
||||
"points": false, |
||||
"renderer": "flot", |
||||
"seriesOverrides": [], |
||||
"span": 6, |
||||
"stack": false, |
||||
"steppedLine": false, |
||||
"targets": [ |
||||
{ |
||||
"refId": "A", |
||||
"scenario": "random_walk", |
||||
"scenarioId": "csv_metric_values", |
||||
"target": "", |
||||
"stringInput": "200,445,100,150,200,220,190" |
||||
} |
||||
], |
||||
"thresholds": [ |
||||
{ |
||||
"value": 177, |
||||
"op": "gt", |
||||
"fill": true, |
||||
"line": true, |
||||
"colorMode": "critical" |
||||
} |
||||
], |
||||
"timeFrom": null, |
||||
"timeShift": null, |
||||
"title": "Always Alerting", |
||||
"tooltip": { |
||||
"msResolution": false, |
||||
"shared": true, |
||||
"sort": 0, |
||||
"value_type": "cumulative" |
||||
}, |
||||
"type": "graph", |
||||
"xaxis": { |
||||
"mode": "time", |
||||
"name": null, |
||||
"show": true, |
||||
"values": [] |
||||
}, |
||||
"yaxes": [ |
||||
{ |
||||
"format": "short", |
||||
"label": "", |
||||
"logBase": 1, |
||||
"max": null, |
||||
"min": "0", |
||||
"show": true |
||||
}, |
||||
{ |
||||
"format": "short", |
||||
"label": "", |
||||
"logBase": 1, |
||||
"max": null, |
||||
"min": null, |
||||
"show": true |
||||
} |
||||
] |
||||
} |
||||
], |
||||
"title": "New row" |
||||
} |
||||
], |
||||
"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" |
||||
] |
||||
}, |
||||
"templating": { |
||||
"list": [] |
||||
}, |
||||
"annotations": { |
||||
"list": [] |
||||
}, |
||||
"schemaVersion": 13, |
||||
"version": 10, |
||||
"links": [], |
||||
"gnetId": null |
||||
} |
Loading…
Reference in new issue