Add alarm annotations in Grafana dashboard
This commit adds alarm annotations to the Grafana System dashboard. Annotations are displayed when the node status changes (e.g. OKAY -> WARN). Change-Id: I1eca90eb574ba3e985566709cc8cc353209da7d2
This commit is contained in:
parent
ed5934cd36
commit
86cfb80382
|
@ -1,7 +1,18 @@
|
|||
{
|
||||
"dashboard": {
|
||||
"annotations": {
|
||||
"list": []
|
||||
"list": [
|
||||
{
|
||||
"datasource": "CCP InfluxDB",
|
||||
"enable": true,
|
||||
"iconColor": "rgba(255, 96, 96, 1)",
|
||||
"name": "Status",
|
||||
"query": "select title,tags,text from annotation where hostname = '$hostname'",
|
||||
"tagsColumn": "tags",
|
||||
"textColumn": "text",
|
||||
"titleColumn": "title"
|
||||
}
|
||||
]
|
||||
},
|
||||
"editable": true,
|
||||
"hideControls": false,
|
||||
|
@ -3079,6 +3090,7 @@
|
|||
"rgba(50, 172, 45, 0.97)"
|
||||
],
|
||||
"datasource": null,
|
||||
"decimals": 0,
|
||||
"editable": true,
|
||||
"error": false,
|
||||
"format": "h",
|
||||
|
@ -3168,8 +3180,7 @@
|
|||
"value": "null"
|
||||
}
|
||||
],
|
||||
"valueName": "current",
|
||||
"decimals": 0
|
||||
"valueName": "current"
|
||||
},
|
||||
{
|
||||
"aliasColors": {},
|
||||
|
@ -4047,6 +4058,6 @@
|
|||
},
|
||||
"timezone": "browser",
|
||||
"title": "System",
|
||||
"version": 5
|
||||
"version": 6
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue