Commit afbc16c4 by bergquist

gfdev: adds alert always in pending state

parent 6c267cb5
...@@ -104,6 +104,7 @@ ...@@ -104,6 +104,7 @@
} }
], ],
"timeFrom": null, "timeFrom": null,
"timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "Always OK", "title": "Always OK",
"tooltip": { "tooltip": {
...@@ -232,6 +233,7 @@ ...@@ -232,6 +233,7 @@
} }
], ],
"timeFrom": null, "timeFrom": null,
"timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "Always Alerting", "title": "Always Alerting",
"tooltip": { "tooltip": {
...@@ -362,6 +364,7 @@ ...@@ -362,6 +364,7 @@
} }
], ],
"timeFrom": null, "timeFrom": null,
"timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "No data", "title": "No data",
"tooltip": { "tooltip": {
...@@ -432,7 +435,7 @@ ...@@ -432,7 +435,7 @@
"for": "1m", "for": "1m",
"frequency": "1m", "frequency": "1m",
"handler": 1, "handler": 1,
"name": "TestData - Always Alerting with For", "name": "TestData - Always Pending",
"noDataState": "no_data", "noDataState": "no_data",
"notifications": [] "notifications": []
}, },
...@@ -492,6 +495,138 @@ ...@@ -492,6 +495,138 @@
} }
], ],
"timeFrom": null, "timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Always Alerting with For",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"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
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alert": {
"conditions": [
{
"evaluator": {
"params": [
100
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "alerting",
"for": "9000000h",
"frequency": "1m",
"handler": 1,
"name": "Always Pending",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "gdev-testdata",
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 14
},
"id": 7,
"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": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"refId": "A",
"scenario": "random_walk",
"scenarioId": "csv_metric_values",
"stringInput": "200,445,100,150,200,220,190",
"target": ""
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 100
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "Always Alerting with For", "title": "Always Alerting with For",
"tooltip": { "tooltip": {
...@@ -573,5 +708,5 @@ ...@@ -573,5 +708,5 @@
"timezone": "browser", "timezone": "browser",
"title": "Alerting with TestData", "title": "Alerting with TestData",
"uid": "7MeksYbmk", "uid": "7MeksYbmk",
"version": 1 "version": 7
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment