Browse Source

fixed uptime panel with new metric labels

pull/4/head
sberk42 4 years ago
parent
commit
8d493192b4
  1. 62
      grafana/Dashboard.json

62
grafana/Dashboard.json

@ -20,7 +20,7 @@
"type": "grafana", "type": "grafana",
"id": "grafana", "id": "grafana",
"name": "Grafana", "name": "Grafana",
"version": "7.1.0" "version": "7.1.5"
}, },
{ {
"type": "panel", "type": "panel",
@ -142,7 +142,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "7.1.0", "pluginVersion": "7.1.5",
"targets": [ "targets": [
{ {
"dsType": "prometheus", "dsType": "prometheus",
@ -264,7 +264,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "7.1.0", "pluginVersion": "7.1.5",
"targets": [ "targets": [
{ {
"dsType": "prometheus", "dsType": "prometheus",
@ -374,7 +374,7 @@
"showThresholdLabels": false, "showThresholdLabels": false,
"showThresholdMarkers": true "showThresholdMarkers": true
}, },
"pluginVersion": "7.1.0", "pluginVersion": "7.1.5",
"targets": [ "targets": [
{ {
"dsType": "prometheus", "dsType": "prometheus",
@ -490,7 +490,7 @@
"showThresholdLabels": false, "showThresholdLabels": false,
"showThresholdMarkers": true "showThresholdMarkers": true
}, },
"pluginVersion": "7.1.0", "pluginVersion": "7.1.5",
"targets": [ "targets": [
{ {
"dsType": "prometheus", "dsType": "prometheus",
@ -552,20 +552,6 @@
"text": "N/A", "text": "N/A",
"type": 1, "type": 1,
"value": "null" "value": "null"
},
{
"id": 1,
"op": "=",
"text": "Disconnected",
"type": 1,
"value": "0"
},
{
"id": 2,
"op": "=",
"text": "Connected",
"type": 1,
"value": "1"
} }
], ],
"nullValueMode": "connected", "nullValueMode": "connected",
@ -610,11 +596,12 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "7.1.0", "pluginVersion": "7.1.5",
"targets": [ "targets": [
{ {
"dsType": "prometheus", "dsType": "prometheus",
"expr": "gateway_uptime_seconds", "expr": "gateway_uptime_seconds",
"format": "table",
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
@ -646,7 +633,7 @@
], ],
"tags": [ "tags": [
{ {
"key": "type", "key": "type_instance",
"operator": "=", "operator": "=",
"value": "uptime" "value": "uptime"
} }
@ -654,6 +641,7 @@
"target": "" "target": ""
} }
], ],
"timeFrom": null,
"title": "Fritzbox Uptime", "title": "Fritzbox Uptime",
"type": "stat" "type": "stat"
}, },
@ -719,7 +707,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "7.1.0", "pluginVersion": "7.1.5",
"targets": [ "targets": [
{ {
"dsType": "prometheus", "dsType": "prometheus",
@ -832,7 +820,7 @@
"lineColor": "rgb(31, 120, 193)", "lineColor": "rgb(31, 120, 193)",
"show": true "show": true
}, },
"tableColumn": "gateway_wan_bytes_received{gateway=\"fritz.box\", instance=\"fritzbox-exporter-svc.fritzbox:9133\", job=\"fritzbox\"}", "tableColumn": "gateway_wan_bytes_received{gateway=\"fritz.box\", instance=\"127.0.0.1:9101\", job=\"fritzbox_exporter\"}",
"targets": [ "targets": [
{ {
"dsType": "prometheus", "dsType": "prometheus",
@ -951,7 +939,7 @@
"lineColor": "#e24d42", "lineColor": "#e24d42",
"show": true "show": true
}, },
"tableColumn": "gateway_wan_bytes_sent{gateway=\"fritz.box\", instance=\"fritzbox-exporter-svc.fritzbox:9133\", job=\"fritzbox\"}", "tableColumn": "gateway_wan_bytes_sent{gateway=\"fritz.box\", instance=\"127.0.0.1:9101\", job=\"fritzbox_exporter\"}",
"targets": [ "targets": [
{ {
"dsType": "prometheus", "dsType": "prometheus",
@ -1062,7 +1050,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "7.1.0", "pluginVersion": "7.1.5",
"targets": [ "targets": [
{ {
"dsType": "prometheus", "dsType": "prometheus",
@ -1164,7 +1152,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "7.1.0", "pluginVersion": "7.1.5",
"targets": [ "targets": [
{ {
"dsType": "prometheus", "dsType": "prometheus",
@ -1223,8 +1211,7 @@
"editable": true, "editable": true,
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"custom": {}, "custom": {}
"links": []
}, },
"overrides": [] "overrides": []
}, },
@ -1255,7 +1242,7 @@
"links": [], "links": [],
"nullPointMode": "connected", "nullPointMode": "connected",
"percentage": false, "percentage": false,
"pluginVersion": "7.1.0", "pluginVersion": "7.1.5",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -1551,8 +1538,7 @@
"editable": true, "editable": true,
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"custom": {}, "custom": {}
"links": []
}, },
"overrides": [] "overrides": []
}, },
@ -1582,7 +1568,7 @@
"links": [], "links": [],
"nullPointMode": "connected", "nullPointMode": "connected",
"percentage": false, "percentage": false,
"pluginVersion": "7.1.0", "pluginVersion": "7.1.5",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -1761,8 +1747,7 @@
"datasource": "${DS_PROMETHEUS}", "datasource": "${DS_PROMETHEUS}",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"custom": {}, "custom": {}
"links": []
}, },
"overrides": [] "overrides": []
}, },
@ -1789,7 +1774,7 @@
"linewidth": 1, "linewidth": 1,
"nullPointMode": "null", "nullPointMode": "null",
"percentage": false, "percentage": false,
"pluginVersion": "7.1.0", "pluginVersion": "7.1.5",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -2027,8 +2012,7 @@
"datasource": "${DS_PROMETHEUS}", "datasource": "${DS_PROMETHEUS}",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"custom": {}, "custom": {}
"links": []
}, },
"overrides": [] "overrides": []
}, },
@ -2061,7 +2045,7 @@
"links": [], "links": [],
"nullPointMode": "null", "nullPointMode": "null",
"percentage": false, "percentage": false,
"pluginVersion": "7.1.0", "pluginVersion": "7.1.5",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -2258,4 +2242,4 @@
"title": "FRITZ!Box Status", "title": "FRITZ!Box Status",
"uid": "000000013", "uid": "000000013",
"version": 5 "version": 5
} }
Loading…
Cancel
Save