176 lines
3.5 KiB
JSON
176 lines
3.5 KiB
JSON
|
{
|
||
|
"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,
|
||
|
"id": 1,
|
||
|
"links": [],
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": null,
|
||
|
"fill": 0,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 10,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 0
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 2,
|
||
|
"legend": {
|
||
|
"alignAsTable": true,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"hideEmpty": false,
|
||
|
"hideZero": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": true,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"dataLinks": [
|
||
|
{
|
||
|
"title": "",
|
||
|
"url": ""
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": "targets",
|
||
|
"repeatDirection": "v",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "state_last_forecasts_count{target=~\"$targets\"}",
|
||
|
"format": "time_series",
|
||
|
"hide": false,
|
||
|
"instant": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "Display {{display_id}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Last Forecasts Count for $targets",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"transparent": true,
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"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
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false,
|
||
|
"alignLevel": null
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"schemaVersion": 21,
|
||
|
"style": "dark",
|
||
|
"tags": [],
|
||
|
"templating": {
|
||
|
"list": [
|
||
|
{
|
||
|
"allValue": null,
|
||
|
"datasource": "Prometheus",
|
||
|
"definition": "state_up",
|
||
|
"hide": 0,
|
||
|
"includeAll": false,
|
||
|
"label": null,
|
||
|
"multi": true,
|
||
|
"name": "targets",
|
||
|
"options": [],
|
||
|
"query": "state_up",
|
||
|
"refresh": 1,
|
||
|
"regex": "/target=\\\"(.*)\\\"/",
|
||
|
"skipUrlSync": false,
|
||
|
"sort": 1,
|
||
|
"tagValuesQuery": "",
|
||
|
"tags": [],
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"time": {
|
||
|
"from": "now-15m",
|
||
|
"to": "now"
|
||
|
},
|
||
|
"timepicker": {
|
||
|
"refresh_intervals": [
|
||
|
"5s",
|
||
|
"10s",
|
||
|
"30s",
|
||
|
"1m",
|
||
|
"5m",
|
||
|
"15m",
|
||
|
"30m",
|
||
|
"1h",
|
||
|
"2h",
|
||
|
"1d"
|
||
|
]
|
||
|
},
|
||
|
"timezone": "",
|
||
|
"title": "Display State",
|
||
|
"uid": "WYXKDQUWz",
|
||
|
"version": 6
|
||
|
}
|