From d156dafd590829b1de54cd2e0e4fa2323820b3e3 Mon Sep 17 00:00:00 2001 From: aexel90 Date: Thu, 26 May 2022 07:39:47 +0200 Subject: [PATCH] grafana update --- grafana/dashboard.json | 267 ++++++++++++++++++++--------------------- 1 file changed, 127 insertions(+), 140 deletions(-) diff --git a/grafana/dashboard.json b/grafana/dashboard.json index cad7fcd..41192ba 100644 --- a/grafana/dashboard.json +++ b/grafana/dashboard.json @@ -3,26 +3,39 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, "type": "dashboard" } ] }, "editable": true, + "fiscalYearStartMonth": 0, "gnetId": 13645, "graphTooltip": 0, "id": 4, "links": [], + "liveNow": false, "panels": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" + }, "fieldConfig": { "defaults": { - "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", @@ -62,7 +75,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "targets": [ { "expr": "hue_bridge_info", @@ -73,16 +86,16 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "IP", "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" + }, "fieldConfig": { "defaults": { - "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", @@ -122,7 +135,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "targets": [ { "expr": "hue_bridge_info", @@ -133,16 +146,16 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Model", "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" + }, "fieldConfig": { "defaults": { - "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", @@ -182,7 +195,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "targets": [ { "expr": "hue_bridge_info", @@ -193,16 +206,16 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "RemoteAccess", "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" + }, "fieldConfig": { "defaults": { - "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", @@ -242,7 +255,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "targets": [ { "expr": "hue_bridge_info", @@ -253,16 +266,16 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "InternetAccess", "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" + }, "fieldConfig": { "defaults": { - "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", @@ -303,7 +316,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "targets": [ { "expr": "hue_bridge_info", @@ -314,16 +327,16 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "ZigBee Channel", "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" + }, "fieldConfig": { "defaults": { - "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", @@ -363,7 +376,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "targets": [ { "expr": "hue_bridge_info", @@ -374,16 +387,16 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "API Version", "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" + }, "fieldConfig": { "defaults": { - "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", @@ -424,7 +437,7 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "targets": [ { "expr": "hue_bridge_info", @@ -435,20 +448,20 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Last Update", "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" + }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, - "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", @@ -484,7 +497,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "targets": [ { "expr": "sum(hue_light_state)", @@ -496,21 +509,21 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Lights ON", "transformations": [], "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" + }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, - "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", @@ -546,7 +559,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "targets": [ { "expr": "count(hue_light_state)-sum(hue_light_state)", @@ -557,8 +570,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Lights OFF", "transformations": [], "type": "stat" @@ -573,14 +584,11 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", - "decimals": 1, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" }, + "decimals": 1, "fill": 0, "fillGradient": 4, "gridPos": { @@ -611,7 +619,7 @@ "alertThreshold": false }, "percentage": false, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -628,9 +636,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Sensor Lightlevel", "tooltip": { "shared": true, @@ -640,9 +646,7 @@ "transformations": [], "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -651,25 +655,18 @@ "$$hashKey": "object:811", "decimals": 1, "format": "lux", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:812", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -682,14 +679,11 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", - "decimals": 1, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" }, + "decimals": 1, "fill": 0, "fillGradient": 4, "gridPos": { @@ -720,7 +714,7 @@ "alertThreshold": false }, "percentage": false, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -737,9 +731,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Sensor Temperature", "tooltip": { "shared": true, @@ -749,9 +741,7 @@ "transformations": [], "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -760,29 +750,25 @@ "$$hashKey": "object:811", "decimals": 1, "format": "celsius", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:812", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" + }, "fieldConfig": { "defaults": { "color": { @@ -791,24 +777,20 @@ "custom": { "align": "left", "displayMode": "color-text", - "filterable": false + "filterable": false, + "inspect": false }, "mappings": [ { - "from": "", - "id": 1, - "text": "HUE Motion Sensor", - "to": "", - "type": 1, - "value": "zllpresence" - }, - { - "from": "", - "id": 2, - "text": "HUE Switch", - "to": "", - "type": 1, - "value": "zllswitch" + "options": { + "zllpresence": { + "text": "HUE Motion Sensor" + }, + "zllswitch": { + "text": "HUE Switch" + } + }, + "type": "value" } ], "thresholds": { @@ -926,6 +908,13 @@ "id": 2, "interval": "", "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [ { @@ -934,7 +923,7 @@ } ] }, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "targets": [ { "expr": "hue_sensor_info{type=~\"ZLL.*\"}", @@ -945,8 +934,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Sensor Overview", "transformations": [ { @@ -989,7 +976,10 @@ "type": "table" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "nLstfzWgz" + }, "fieldConfig": { "defaults": { "color": { @@ -998,7 +988,8 @@ "custom": { "align": "left", "displayMode": "color-text", - "filterable": false + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { @@ -1062,20 +1053,15 @@ "id": "mappings", "value": [ { - "from": "", - "id": 1, - "text": "ON", - "to": "", - "type": 1, - "value": "1" - }, - { - "from": "", - "id": 2, - "text": "OFF", - "to": "", - "type": 1, - "value": "0" + "options": { + "0": { + "text": "OFF" + }, + "1": { + "text": "ON" + } + }, + "type": "value" } ] }, @@ -1115,20 +1101,15 @@ "id": "mappings", "value": [ { - "from": "", - "id": 1, - "text": "yes", - "to": "", - "type": 1, - "value": "1" - }, - { - "from": "", - "id": 2, - "text": "no", - "to": "", - "type": 1, - "value": "0" + "options": { + "0": { + "text": "no" + }, + "1": { + "text": "yes" + } + }, + "type": "value" } ] }, @@ -1176,6 +1157,13 @@ }, "id": 6, "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [ { @@ -1184,7 +1172,7 @@ } ] }, - "pluginVersion": "7.4.3", + "pluginVersion": "8.5.3", "targets": [ { "expr": "hue_light_info", @@ -1195,8 +1183,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Hue Light Overview", "transformations": [ { @@ -1243,7 +1229,7 @@ } ], "refresh": "5m", - "schemaVersion": 27, + "schemaVersion": 36, "style": "dark", "tags": [], "templating": { @@ -1257,5 +1243,6 @@ "timezone": "", "title": "Philips Hue", "uid": "X7uYULiRk", - "version": 6 + "version": 6, + "weekStart": "" } \ No newline at end of file