From 1af48845fbbd19388280563382672ff87b88e5e4 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 20 Jun 2022 01:20:07 +0200 Subject: [PATCH] grafana: fix/update dashboards --- .../grafana/dashboards/0Ak2sJQmz.json | 2727 ----------------- .../grafana/dashboards/17cZUJkGk.json | 644 ++-- .../grafana/dashboards/23CMCndnz.json | 562 ++-- .../grafana/dashboards/3jSJcNS7k.json | 590 ++-- .../grafana/dashboards/5PIhLQ3Mk.json | 309 +- .../grafana/dashboards/OPn-E3wmz.json | 515 +--- .../grafana/dashboards/U6EKlHInz.json | 374 ++- .../grafana/dashboards/pVoyupoZk.json | 1538 ++++------ 8 files changed, 1938 insertions(+), 5321 deletions(-) delete mode 100644 hosts/containers/grafana/dashboards/0Ak2sJQmz.json diff --git a/hosts/containers/grafana/dashboards/0Ak2sJQmz.json b/hosts/containers/grafana/dashboards/0Ak2sJQmz.json deleted file mode 100644 index 59e26b5e..00000000 --- a/hosts/containers/grafana/dashboards/0Ak2sJQmz.json +++ /dev/null @@ -1,2727 +0,0 @@ -{ - "annotations": { - "list": [ - { - "$$hashKey": "object:13", - "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, - "iteration": 1589932812004, - "links": [], - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "decimals": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 0 - }, - "hiddenSeries": false, - "id": 8, - "interval": "10s", - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": "gateway", - "repeatDirection": "h", - "scopedVars": { - "gateway": { - "selected": false, - "text": "upstream1", - "value": "upstream1" - } - }, - "seriesOverrides": [ - { - "$$hashKey": "object:234", - "alias": "/TX$/", - "color": "#e24d42" - }, - { - "$$hashKey": "object:235", - "alias": "/RX$/", - "color": "#7eb26d" - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "$tag_host $tag_instance RX", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "interface_rx", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "1s" - ], - "type": "non_negative_derivative" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=", - "value": "$gateway" - }, - { - "condition": "AND", - "key": "type", - "operator": "=", - "value": "if_octets" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/^(up|mullvad)/" - } - ] - }, - { - "alias": "$tag_host $tag_instance TX", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "interface_tx", - "orderByTime": "ASC", - "policy": "default", - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "1s" - ], - "type": "non_negative_derivative" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=", - "value": "$gateway" - }, - { - "condition": "AND", - "key": "type", - "operator": "=", - "value": "if_octets" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/^(up|mullvad)/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "$gateway throughput", - "tooltip": { - "shared": false, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:254", - "decimals": null, - "format": "Bps", - "label": null, - "logBase": 1, - "max": "6250000", - "min": "0", - "show": true - }, - { - "$$hashKey": "object:255", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "decimals": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 0 - }, - "hiddenSeries": false, - "id": 22, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": null, - "repeatDirection": "h", - "repeatIteration": 1589932812004, - "repeatPanelId": 8, - "scopedVars": { - "gateway": { - "selected": false, - "text": "anon1", - "value": "anon1" - } - }, - "seriesOverrides": [ - { - "$$hashKey": "object:234", - "alias": "/TX$/", - "color": "#e24d42" - }, - { - "$$hashKey": "object:235", - "alias": "/RX$/", - "color": "#7eb26d" - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "$tag_host $tag_instance RX", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "interface_rx", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "1s" - ], - "type": "non_negative_derivative" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=", - "value": "$gateway" - }, - { - "condition": "AND", - "key": "type", - "operator": "=", - "value": "if_octets" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/^(up|mullvad)/" - } - ] - }, - { - "alias": "$tag_host $tag_instance TX", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "interface_tx", - "orderByTime": "ASC", - "policy": "default", - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "1s" - ], - "type": "non_negative_derivative" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=", - "value": "$gateway" - }, - { - "condition": "AND", - "key": "type", - "operator": "=", - "value": "if_octets" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/^(up|mullvad)/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "$gateway throughput", - "tooltip": { - "shared": false, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:254", - "decimals": null, - "format": "Bps", - "label": null, - "logBase": 1, - "max": "6250000", - "min": "0", - "show": true - }, - { - "$$hashKey": "object:255", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "decimals": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 0 - }, - "hiddenSeries": false, - "id": 23, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": null, - "repeatDirection": "h", - "repeatIteration": 1589932812004, - "repeatPanelId": 8, - "scopedVars": { - "gateway": { - "selected": false, - "text": "upstream2", - "value": "upstream2" - } - }, - "seriesOverrides": [ - { - "$$hashKey": "object:234", - "alias": "/TX$/", - "color": "#e24d42" - }, - { - "$$hashKey": "object:235", - "alias": "/RX$/", - "color": "#7eb26d" - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "$tag_host $tag_instance RX", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "interface_rx", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "1s" - ], - "type": "non_negative_derivative" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=", - "value": "$gateway" - }, - { - "condition": "AND", - "key": "type", - "operator": "=", - "value": "if_octets" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/^(up|mullvad)/" - } - ] - }, - { - "alias": "$tag_host $tag_instance TX", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "interface_tx", - "orderByTime": "ASC", - "policy": "default", - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "1s" - ], - "type": "non_negative_derivative" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=", - "value": "$gateway" - }, - { - "condition": "AND", - "key": "type", - "operator": "=", - "value": "if_octets" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/^(up|mullvad)/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "$gateway throughput", - "tooltip": { - "shared": false, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:254", - "decimals": null, - "format": "Bps", - "label": null, - "logBase": 1, - "max": "6250000", - "min": "0", - "show": true - }, - { - "$$hashKey": "object:255", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "decimals": 0, - "description": "", - "fill": 10, - "fillGradient": 0, - "gridPos": { - "h": 10, - "w": 8, - "x": 0, - "y": 7 - }, - "hiddenSeries": false, - "id": 14, - "interval": "10s", - "legend": { - "alignAsTable": false, - "avg": false, - "current": true, - "hideEmpty": true, - "hideZero": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sort": null, - "sortDesc": null, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": "vlanType", - "repeatDirection": "h", - "scopedVars": { - "vlanType": { - "selected": false, - "text": "c3d2", - "value": "c3d2" - } - }, - "seriesOverrides": [ - { - "$$hashKey": "object:213", - "alias": "/wlan2-pub/", - "color": "#0a50a1" - }, - { - "$$hashKey": "object:214", - "alias": "/wlan5-pub/", - "color": "#1f78c1" - }, - { - "$$hashKey": "object:215", - "alias": "/wlan2-priv/", - "color": "#890f02" - }, - { - "$$hashKey": "object:216", - "alias": "/wlan5-priv/", - "color": "#bf1b00" - }, - { - "$$hashKey": "object:217", - "alias": "/wlan2-c3d2/", - "color": "#e5ac0e" - }, - { - "$$hashKey": "object:218", - "alias": "/wlan5-c3d2/", - "color": "#fceaca" - } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": true, - "targets": [ - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "median" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/^wlan2-$vlanType/" - } - ] - }, - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"iwinfo_value\" WHERE (\"type\" = 'stations' AND \"instance\" =~ /wlan5-c3d2/) AND $timeFilter GROUP BY time($__interval), \"instance\", \"host\" fill(null)", - "rawQuery": false, - "refId": "D", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "median" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/^wlan5-$vlanType/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "WiFi stations in VLAN $vlanType*", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:261", - "decimals": 0, - "format": "short", - "label": "Clients", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:262", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "decimals": 0, - "description": "", - "fill": 10, - "fillGradient": 0, - "gridPos": { - "h": 10, - "w": 8, - "x": 8, - "y": 7 - }, - "hiddenSeries": false, - "id": 24, - "legend": { - "alignAsTable": false, - "avg": false, - "current": true, - "hideEmpty": true, - "hideZero": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sort": null, - "sortDesc": null, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": null, - "repeatDirection": "h", - "repeatIteration": 1589932812004, - "repeatPanelId": 14, - "scopedVars": { - "vlanType": { - "selected": false, - "text": "pub", - "value": "pub" - } - }, - "seriesOverrides": [ - { - "$$hashKey": "object:213", - "alias": "/wlan2-pub/", - "color": "#0a50a1" - }, - { - "$$hashKey": "object:214", - "alias": "/wlan5-pub/", - "color": "#1f78c1" - }, - { - "$$hashKey": "object:215", - "alias": "/wlan2-priv/", - "color": "#890f02" - }, - { - "$$hashKey": "object:216", - "alias": "/wlan5-priv/", - "color": "#bf1b00" - }, - { - "$$hashKey": "object:217", - "alias": "/wlan2-c3d2/", - "color": "#e5ac0e" - }, - { - "$$hashKey": "object:218", - "alias": "/wlan5-c3d2/", - "color": "#fceaca" - } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": true, - "targets": [ - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "median" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/^wlan2-$vlanType/" - } - ] - }, - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"iwinfo_value\" WHERE (\"type\" = 'stations' AND \"instance\" =~ /wlan5-c3d2/) AND $timeFilter GROUP BY time($__interval), \"instance\", \"host\" fill(null)", - "rawQuery": false, - "refId": "D", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "median" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/^wlan5-$vlanType/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "WiFi stations in VLAN $vlanType*", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:261", - "decimals": 0, - "format": "short", - "label": "Clients", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:262", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "decimals": 0, - "description": "", - "fill": 10, - "fillGradient": 0, - "gridPos": { - "h": 10, - "w": 8, - "x": 16, - "y": 7 - }, - "hiddenSeries": false, - "id": 25, - "legend": { - "alignAsTable": false, - "avg": false, - "current": true, - "hideEmpty": true, - "hideZero": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sort": null, - "sortDesc": null, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": null, - "repeatDirection": "h", - "repeatIteration": 1589932812004, - "repeatPanelId": 14, - "scopedVars": { - "vlanType": { - "selected": false, - "text": "priv", - "value": "priv" - } - }, - "seriesOverrides": [ - { - "$$hashKey": "object:213", - "alias": "/wlan2-pub/", - "color": "#0a50a1" - }, - { - "$$hashKey": "object:214", - "alias": "/wlan5-pub/", - "color": "#1f78c1" - }, - { - "$$hashKey": "object:215", - "alias": "/wlan2-priv/", - "color": "#890f02" - }, - { - "$$hashKey": "object:216", - "alias": "/wlan5-priv/", - "color": "#bf1b00" - }, - { - "$$hashKey": "object:217", - "alias": "/wlan2-c3d2/", - "color": "#e5ac0e" - }, - { - "$$hashKey": "object:218", - "alias": "/wlan5-c3d2/", - "color": "#fceaca" - } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": true, - "targets": [ - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "median" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/^wlan2-$vlanType/" - } - ] - }, - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"iwinfo_value\" WHERE (\"type\" = 'stations' AND \"instance\" =~ /wlan5-c3d2/) AND $timeFilter GROUP BY time($__interval), \"instance\", \"host\" fill(null)", - "rawQuery": false, - "refId": "D", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "median" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/^wlan5-$vlanType/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "WiFi stations in VLAN $vlanType*", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:261", - "decimals": 0, - "format": "short", - "label": "Clients", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:262", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "cards": { - "cardPadding": null, - "cardRound": null - }, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateRdYlGn", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "tsbuckets", - "datasource": "InfluxDB collectd", - "gridPos": { - "h": 12, - "w": 11, - "x": 0, - "y": 17 - }, - "heatmap": {}, - "hideZeroBuckets": false, - "highlightCards": true, - "id": 21, - "interval": "10s", - "legend": { - "show": false - }, - "reverseYBuckets": false, - "targets": [ - { - "alias": "$tag_host", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "type_instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "exec_value", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "max" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "current_sessions" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=", - "value": "dhcpd" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "DHCP leases", - "tooltip": { - "show": true, - "showHistogram": true - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "xBucketNumber": null, - "xBucketSize": "1", - "yAxis": { - "decimals": 0, - "format": "none", - "logBase": 1, - "max": null, - "min": null, - "show": true, - "splitFactor": null - }, - "yBucketBound": "auto", - "yBucketNumber": null, - "yBucketSize": 1 - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "InfluxDB collectd", - "fill": 4, - "fillGradient": 0, - "gridPos": { - "h": 12, - "w": 13, - "x": 11, - "y": 17 - }, - "hiddenSeries": false, - "id": 20, - "interval": "", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "alias": "$tag_host", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "type_instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "exec_value", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "median" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "current_sessions" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=", - "value": "dhcpd" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "DHCP leases", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:221", - "decimals": 0, - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:222", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "cards": { - "cardPadding": null, - "cardRound": null - }, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateRdYlGn", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "tsbuckets", - "datasource": null, - "gridPos": { - "h": 20, - "w": 11, - "x": 0, - "y": 29 - }, - "heatmap": {}, - "hideZeroBuckets": false, - "highlightCards": true, - "id": 6, - "interval": "10s", - "legend": { - "show": false - }, - "links": [], - "reverseYBuckets": false, - "targets": [ - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - } - ] - } - ], - "timeFrom": null, - "title": "WiFi heatmap", - "tooltip": { - "show": true, - "showHistogram": true - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "xBucketNumber": null, - "xBucketSize": null, - "yAxis": { - "decimals": 0, - "format": "none", - "logBase": 1, - "max": null, - "min": null, - "show": true, - "splitFactor": null - }, - "yBucketBound": "auto", - "yBucketNumber": null, - "yBucketSize": null - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "decimals": 0, - "description": "", - "fill": 10, - "fillGradient": 0, - "gridPos": { - "h": 20, - "w": 13, - "x": 11, - "y": 29 - }, - "hiddenSeries": false, - "id": 11, - "interval": "10s", - "legend": { - "alignAsTable": false, - "avg": false, - "current": true, - "hideEmpty": true, - "hideZero": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": null, - "sortDesc": null, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/wlan2-pub/", - "color": "#0a50a1" - }, - { - "alias": "/wlan5-pub/", - "color": "#1f78c1" - }, - { - "alias": "/wlan2-priv/", - "color": "#890f02" - }, - { - "alias": "/wlan5-priv/", - "color": "#bf1b00" - }, - { - "alias": "/wlan2-c3d2/", - "color": "#e5ac0e" - }, - { - "alias": "/wlan5-c3d2/", - "color": "#fceaca" - } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": true, - "targets": [ - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/wlan2-c3d2/" - } - ] - }, - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"iwinfo_value\" WHERE (\"type\" = 'stations' AND \"instance\" =~ /wlan5-c3d2/) AND $timeFilter GROUP BY time($__interval), \"instance\", \"host\" fill(null)", - "rawQuery": true, - "refId": "D", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/wlan2-c3d2/" - } - ] - }, - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"iwinfo_value\" WHERE (\"type\" = 'stations' AND \"instance\" =~ /wlan2-priv/) AND $timeFilter GROUP BY time($__interval), \"host\", \"instance\" fill(null)", - "rawQuery": true, - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/-priv/" - } - ] - }, - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"iwinfo_value\" WHERE (\"type\" = 'stations' AND \"instance\" =~ /wlan5-priv/) AND $timeFilter GROUP BY time($__interval), \"host\", \"instance\" fill(null)", - "rawQuery": true, - "refId": "E", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/-pub/" - } - ] - }, - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"iwinfo_value\" WHERE (\"type\" = 'stations' AND \"instance\" =~ /wlan2-pub/) AND $timeFilter GROUP BY time($__interval), \"host\", \"instance\" fill(null)", - "rawQuery": true, - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/-pub/" - } - ] - }, - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"iwinfo_value\" WHERE (\"type\" = 'stations' AND \"instance\" =~ /wlan5-pub/) AND $timeFilter GROUP BY time($__interval), \"host\", \"instance\" fill(null)", - "rawQuery": true, - "refId": "F", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - }, - { - "condition": "AND", - "key": "instance", - "operator": "=~", - "value": "/-priv/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "WiFi stations 2", - "tooltip": { - "shared": true, - "sort": 1, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "short", - "label": "Clients", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "decimals": 0, - "fill": 10, - "fillGradient": 0, - "gridPos": { - "h": 20, - "w": 24, - "x": 0, - "y": 49 - }, - "hiddenSeries": false, - "id": 4, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": false, - "max": true, - "min": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/wlan2-pub/", - "color": "#0a50a1" - }, - { - "alias": "/wlan5-pub/", - "color": "#1f78c1" - }, - { - "alias": "/wlan2-priv/", - "color": "#890f02" - }, - { - "alias": "/wlan5-priv/", - "color": "#bf1b00" - }, - { - "alias": "/wlan2-c3d2/", - "color": "#e5ac0e" - }, - { - "alias": "/wlan5-c3d2/", - "color": "#fceaca" - } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": true, - "targets": [ - { - "alias": "$tag_host $tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iwinfo_value", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "stations" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "WiFi stations", - "tooltip": { - "shared": true, - "sort": 1, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "short", - "label": "Clients", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - } - ], - "refresh": false, - "schemaVersion": 22, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "allValue": null, - "current": { - "text": "All", - "value": "$__all" - }, - "hide": 2, - "includeAll": true, - "label": null, - "multi": false, - "name": "gateway", - "options": [ - { - "selected": true, - "text": "All", - "value": "$__all" - }, - { - "selected": false, - "text": "upstream1", - "value": "upstream1" - }, - { - "selected": false, - "text": "anon1", - "value": "anon1" - }, - { - "selected": false, - "text": "upstream2", - "value": "upstream2" - } - ], - "query": "upstream1,anon1,upstream2", - "skipUrlSync": false, - "type": "custom" - }, - { - "allValue": null, - "current": { - "tags": [], - "text": "All", - "value": "$__all" - }, - "hide": 2, - "includeAll": true, - "label": null, - "multi": false, - "name": "vlanType", - "options": [ - { - "selected": true, - "text": "All", - "value": "$__all" - }, - { - "selected": false, - "text": "c3d2", - "value": "c3d2" - }, - { - "selected": false, - "text": "pub", - "value": "pub" - }, - { - "selected": false, - "text": "priv", - "value": "priv" - } - ], - "query": "c3d2,pub,priv", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-2d", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "timezone": "browser", - "title": "ZW network", - "uid": "0Ak2sJQmz", - "variables": { - "list": [] - }, - "version": 32 -} diff --git a/hosts/containers/grafana/dashboards/17cZUJkGk.json b/hosts/containers/grafana/dashboards/17cZUJkGk.json index 25d955dc..0ed8ac3f 100644 --- a/hosts/containers/grafana/dashboards/17cZUJkGk.json +++ b/hosts/containers/grafana/dashboards/17cZUJkGk.json @@ -4,7 +4,10 @@ { "$$hashKey": "object:13", "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -22,82 +25,147 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 11, - "iteration": 1648264961246, + "iteration": 1655678543845, "links": [], "liveNow": false, "panels": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "RX", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Bps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/ TX/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#e24d42", + "mode": "fixed" + } + }, + { + "id": "custom.axisLabel", + "value": "TX" + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/ RX/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#7eb26d", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/ max$/" + }, + "properties": [ + { + "id": "custom.fillOpacity", + "value": 0 + }, + { + "id": "custom.lineWidth", + "value": 1 + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 7, "w": 6, "x": 0, "y": 0 }, - "hiddenSeries": false, "id": 8, "interval": "10s", - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, "links": [], "maxDataPoints": 256, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.4.4", - "pointradius": 5, - "points": false, - "renderer": "flot", + "pluginVersion": "8.5.6", "repeat": "gateway", "repeatDirection": "h", - "seriesOverrides": [ - { - "$$hashKey": "object:234", - "alias": "/ TX/", - "color": "#e24d42", - "yaxis": 2 - }, - { - "$$hashKey": "object:235", - "alias": "/ RX/", - "color": "#7eb26d", - "yaxis": 1 - }, - { - "$$hashKey": "object:449", - "alias": "/ max$/", - "fill": 0, - "linewidth": 1 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "alias": "$tag_host $tag_instance TX", @@ -150,9 +218,15 @@ }, { "params": [ - "1s" + "10s" ], "type": "non_negative_derivative" + }, + { + "params": [ + " / 10" + ], + "type": "math" } ] ], @@ -228,9 +302,15 @@ }, { "params": [ - "1s" + "10s" ], "type": "non_negative_derivative" + }, + { + "params": [ + " / 10" + ], + "type": "math" } ] ], @@ -255,129 +335,186 @@ ] } ], - "thresholds": [], - "timeRegions": [], "title": "$gateway throughput", - "tooltip": { - "shared": false, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:254", - "format": "Bps", - "label": "RX", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:255", - "format": "Bps", - "label": "TX", - "logBase": 1, - "min": "0", - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "decimals": 0, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "description": "", "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "Clients", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "stepAfter", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/wlan2-pub/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#0a50a1", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/wlan5-pub/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#1f78c1", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/wlan2-priv/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#890f02", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/wlan5-priv/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#bf1b00", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/wlan2-c3d2/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#e5ac0e", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/wlan5-c3d2/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#fceaca", + "mode": "fixed" + } + } + ] + } + ] }, - "fill": 10, - "fillGradient": 0, "gridPos": { "h": 10, "w": 8, "x": 0, "y": 14 }, - "hiddenSeries": false, "id": 14, "interval": "60s", - "legend": { - "alignAsTable": false, - "avg": false, - "current": true, - "hideEmpty": true, - "hideZero": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, "links": [], "maxDataPoints": 128, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } }, - "percentage": false, - "pluginVersion": "8.4.4", - "pointradius": 5, - "points": false, - "renderer": "flot", + "pluginVersion": "8.5.6", "repeat": "vlanType", "repeatDirection": "h", - "seriesOverrides": [ - { - "$$hashKey": "object:213", - "alias": "/wlan2-pub/", - "color": "#0a50a1" - }, - { - "$$hashKey": "object:214", - "alias": "/wlan5-pub/", - "color": "#1f78c1" - }, - { - "$$hashKey": "object:215", - "alias": "/wlan2-priv/", - "color": "#890f02" - }, - { - "$$hashKey": "object:216", - "alias": "/wlan5-priv/", - "color": "#bf1b00" - }, - { - "$$hashKey": "object:217", - "alias": "/wlan2-c3d2/", - "color": "#e5ac0e" - }, - { - "$$hashKey": "object:218", - "alias": "/wlan5-c3d2/", - "color": "#fceaca" - } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": true, "targets": [ { "alias": "$tag_host $tag_instance", @@ -504,40 +641,8 @@ ] } ], - "thresholds": [], - "timeRegions": [], "title": "WiFi stations in VLAN $vlanType*", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:261", - "decimals": 0, - "format": "short", - "label": "Clients", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:262", - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { "cards": {}, @@ -551,7 +656,7 @@ "dataFormat": "tsbuckets", "datasource": { "type": "influxdb", - "uid": "000000001" + "uid": "P79EA3E036FD9FF91" }, "gridPos": { "h": 10, @@ -572,6 +677,10 @@ "targets": [ { "alias": "$tag_host", + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "groupBy": [ { "params": [ @@ -661,6 +770,10 @@ "mode": "spectrum" }, "dataFormat": "tsbuckets", + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "gridPos": { "h": 21, "w": 14, @@ -747,58 +860,91 @@ "yBucketBound": "auto" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "influxdb", - "uid": "000000001" + "uid": "P79EA3E036FD9FF91" }, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 40, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, "overrides": [] }, - "fill": 4, - "fillGradient": 0, "gridPos": { "h": 11, "w": 10, "x": 0, "y": 34 }, - "hiddenSeries": false, "id": 20, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "maxDataPoints": 128, - "nullPointMode": "connected", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } }, - "percentage": false, - "pluginVersion": "8.4.4", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_host", + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "groupBy": [ { "params": [ @@ -859,49 +1005,19 @@ ] } ], - "thresholds": [], - "timeRegions": [], "title": "DHCP leases", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:221", - "decimals": 0, - "format": "short", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:222", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" } ], "refresh": false, - "schemaVersion": 35, + "schemaVersion": 36, "style": "dark", "tags": [], "templating": { "list": [ { "current": { + "selected": false, "text": "All", "value": "$__all" }, @@ -915,16 +1031,6 @@ "text": "All", "value": "$__all" }, - { - "selected": false, - "text": "upstream1", - "value": "upstream1" - }, - { - "selected": false, - "text": "upstream2", - "value": "upstream2" - }, { "selected": false, "text": "upstream3", @@ -951,7 +1057,7 @@ "value": "dn42" } ], - "query": "upstream1,upstream2,upstream3,upstream4,anon1,freifunk,dn42", + "query": "upstream3,upstream4,anon1,freifunk,dn42", "skipUrlSync": false, "type": "custom" }, @@ -1025,6 +1131,6 @@ "timezone": "browser", "title": "ZW network essential", "uid": "17cZUJkGk", - "version": 19, + "version": 1, "weekStart": "" -} +} \ No newline at end of file diff --git a/hosts/containers/grafana/dashboards/23CMCndnz.json b/hosts/containers/grafana/dashboards/23CMCndnz.json index 78ec63fd..f7387f58 100644 --- a/hosts/containers/grafana/dashboards/23CMCndnz.json +++ b/hosts/containers/grafana/dashboards/23CMCndnz.json @@ -3,66 +3,106 @@ "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, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 20, "links": [], + "liveNow": false, "panels": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "reqps" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 16, "w": 12, "x": 0, "y": 0 }, - "hiddenSeries": false, "id": 5, "interval": "10", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.10", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_host $tag_type_instance", @@ -138,94 +178,85 @@ ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "opcodes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:57", - "format": "reqps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:58", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "reqps" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 16, "w": 12, "x": 12, "y": 0 }, - "hiddenSeries": false, "id": 4, "interval": "10", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.10", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_host $tag_type $tag_type_instance", @@ -301,94 +332,85 @@ ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "stats", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:57", - "format": "reqps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:58", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "reqps" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 17, "w": 12, "x": 0, "y": 16 }, - "hiddenSeries": false, "id": 6, "interval": "10", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.10", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_host $tag_type_instance", @@ -464,94 +486,85 @@ ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "opcodes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:57", - "format": "reqps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:58", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bytes" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 17, "w": 12, "x": 12, "y": 16 }, - "hiddenSeries": false, "id": 3, "interval": "10", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } }, - "percentage": false, - "pluginVersion": "7.5.10", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_host $tag_type_instance", @@ -627,52 +640,12 @@ ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "memory usage", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:57", - "format": "bytes", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:58", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" } ], "refresh": false, - "schemaVersion": 27, + "schemaVersion": 36, "style": "dark", "tags": [], "templating": { @@ -686,5 +659,6 @@ "timezone": "", "title": "DNS", "uid": "23CMCndnz", - "version": 3 -} + "version": 1, + "weekStart": "" +} \ No newline at end of file diff --git a/hosts/containers/grafana/dashboards/3jSJcNS7k.json b/hosts/containers/grafana/dashboards/3jSJcNS7k.json index c271581f..5ee77db1 100644 --- a/hosts/containers/grafana/dashboards/3jSJcNS7k.json +++ b/hosts/containers/grafana/dashboards/3jSJcNS7k.json @@ -3,70 +3,112 @@ "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, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 16, "links": [], + "liveNow": false, "panels": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "description": "", "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "binBps" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 23, "w": 12, "x": 0, "y": 0 }, - "hiddenSeries": false, "id": 2, "interval": "60", - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } }, - "percentage": false, - "pluginVersion": "7.5.10", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_instance TX", @@ -222,98 +264,91 @@ ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "HAProxy backend throughput", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:198", - "format": "binBps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "description": "", "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "reqps" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 23, "w": 12, "x": 12, "y": 0 }, - "hiddenSeries": false, "id": 3, "interval": "60", - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } }, - "percentage": false, - "pluginVersion": "7.5.10", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_instance $tag_type_instance", @@ -395,95 +430,86 @@ ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "HAProxy backend requests", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:198", - "format": "reqps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "description": "", "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { - "h": 8, + "h": 23, "w": 12, "x": 0, "y": 23 }, - "hiddenSeries": false, "id": 6, "interval": "60", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } }, - "percentage": false, - "pluginVersion": "7.5.10", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "groupBy": [ @@ -631,98 +657,91 @@ ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "HAProxy Frontend", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1072", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1073", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "description": "", "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 23, "w": 12, "x": 12, "y": 23 }, - "hiddenSeries": false, "id": 4, "interval": "60", - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } }, - "percentage": false, - "pluginVersion": "7.5.10", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_instance $tag_type_instance", @@ -792,63 +811,24 @@ ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "HAProxy backend latency", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:198", - "format": "ms", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" } ], - "schemaVersion": 27, + "schemaVersion": 36, "style": "dark", "tags": [], "templating": { "list": [] }, "time": { - "from": "now-30m", + "from": "now-7d", "to": "now" }, "timepicker": {}, "timezone": "", "title": "HAProxy", "uid": "3jSJcNS7k", - "version": 3 -} + "version": 1, + "weekStart": "" +} \ No newline at end of file diff --git a/hosts/containers/grafana/dashboards/5PIhLQ3Mk.json b/hosts/containers/grafana/dashboards/5PIhLQ3Mk.json index adb0caa2..19d8286d 100644 --- a/hosts/containers/grafana/dashboards/5PIhLQ3Mk.json +++ b/hosts/containers/grafana/dashboards/5PIhLQ3Mk.json @@ -3,71 +3,111 @@ "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, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 0, - "hideControls": false, - "id": 15, "links": [], + "liveNow": false, "panels": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "decimals": 1, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "description": "", "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 24, "x": 0, "y": 0 }, - "hiddenSeries": false, "id": 2, "interval": "10", - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "connected", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.7", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_host $tag_type_instance", @@ -131,98 +171,90 @@ ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Ping RTT", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:56", - "format": "ms", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:57", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "decimals": 1, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "description": "", "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 24, "x": 0, "y": 9 }, - "hiddenSeries": false, "id": 3, "interval": "10", - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "connected", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.7", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_host $tag_type_instance", @@ -286,63 +318,24 @@ ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Ping Droprate", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:56", - "format": "percentunit", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:57", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" } ], - "schemaVersion": 27, + "schemaVersion": 36, "style": "dark", "tags": [], "templating": { "list": [] }, "time": { - "from": "now-2d", + "from": "now-7d", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Upstream Pings", "uid": "5PIhLQ3Mk", - "version": 1 -} + "version": 1, + "weekStart": "" +} \ No newline at end of file diff --git a/hosts/containers/grafana/dashboards/OPn-E3wmz.json b/hosts/containers/grafana/dashboards/OPn-E3wmz.json index c7b40259..6005d0e4 100644 --- a/hosts/containers/grafana/dashboards/OPn-E3wmz.json +++ b/hosts/containers/grafana/dashboards/OPn-E3wmz.json @@ -4,7 +4,10 @@ { "$$hashKey": "object:228", "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -22,7 +25,6 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 3, "links": [], "liveNow": false, "panels": [ @@ -33,7 +35,7 @@ "dashes": false, "datasource": { "type": "influxdb", - "uid": "000000002" + "uid": "P85912E5239EC5A81" }, "fieldConfig": { "defaults": { @@ -68,7 +70,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.4.1", + "pluginVersion": "8.5.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -100,7 +102,7 @@ "alias": "$tag_instance temperature", "datasource": { "type": "influxdb", - "uid": "000000002" + "uid": "P85912E5239EC5A81" }, "groupBy": [ { @@ -147,7 +149,7 @@ "alias": "$tag_instance temperature (24h ⌀)", "datasource": { "type": "influxdb", - "uid": "000000002" + "uid": "P85912E5239EC5A81" }, "groupBy": [ { @@ -200,7 +202,7 @@ "alias": "$tag_instance humidity", "datasource": { "type": "influxdb", - "uid": "000000002" + "uid": "P85912E5239EC5A81" }, "groupBy": [ { @@ -282,7 +284,7 @@ { "datasource": { "type": "influxdb", - "uid": "000000002" + "uid": "P85912E5239EC5A81" }, "fieldConfig": { "defaults": { @@ -360,7 +362,7 @@ "alias": "PM2.5 $tag_instance", "datasource": { "type": "influxdb", - "uid": "000000002" + "uid": "P85912E5239EC5A81" }, "groupBy": [ { @@ -407,7 +409,7 @@ "alias": "PM10 $tag_instance", "datasource": { "type": "influxdb", - "uid": "000000002" + "uid": "P85912E5239EC5A81" }, "groupBy": [ { @@ -454,502 +456,17 @@ ], "title": "Particulate Matter", "type": "timeseries" - }, - { - "datasource": { - "type": "influxdb", - "uid": "000000002" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 17 - }, - "id": 6, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "8.4.1", - "targets": [ - { - "alias": "$tag_location", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "location" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iot", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "onoff" - ], - "type": "field" - }, - { - "params": [], - "type": "last" - } - ] - ], - "tags": [] - } - ], - "title": "Panel Title", - "type": "stat" - }, - { - "aliasColors": { - "Ziel: MAX_1b111b": "semi-dark-green" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "influxdb", - "uid": "000000002" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 0, - "fillGradient": 0, - "gridPos": { - "h": 17, - "w": 12, - "x": 12, - "y": 17 - }, - "hiddenSeries": false, - "id": 2, - "interval": "1m", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 3, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.4.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:389", - "alias": "/^Aktuell:/", - "color": "#E02F44" - }, - { - "$$hashKey": "object:390", - "alias": "/^Ziel:/", - "color": "#73BF69" - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "Aktuell: $tag_location$tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "location" - ], - "type": "tag" - }, - { - "params": [ - "node" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iot", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "temperature" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [] - }, - { - "alias": "Ziel: $tag_location$tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "location" - ], - "type": "tag" - }, - { - "params": [ - "node" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iot", - "orderByTime": "ASC", - "policy": "default", - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "desiredTemperature" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [] - }, - { - "alias": "Zustand: $tag_location$tag_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "location" - ], - "type": "tag" - }, - { - "params": [ - "node" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iot", - "orderByTime": "ASC", - "policy": "default", - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "state" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [] - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Temperaturregulierung", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:409", - "format": "celsius", - "label": "", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:410", - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } - }, - { - "datasource": { - "type": "influxdb", - "uid": "000000002" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "celsius" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 34 - }, - "id": 4, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "8.4.1", - "targets": [ - { - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "iot", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "temperature" - ], - "type": "field" - }, - { - "params": [], - "type": "last" - } - ] - ], - "tags": [ - { - "key": "location", - "operator": "=", - "value": "Assembly-Walltherm" - } - ] - } - ], - "title": "Panel Title", - "type": "stat" } ], "refresh": false, - "schemaVersion": 35, + "schemaVersion": 36, "style": "dark", "tags": [], "templating": { "list": [] }, "time": { - "from": "now-7d", + "from": "now-24h", "to": "now" }, "timepicker": { @@ -980,6 +497,6 @@ "timezone": "", "title": "IoT", "uid": "OPn-E3wmz", - "version": 14, + "version": 1, "weekStart": "" -} +} \ No newline at end of file diff --git a/hosts/containers/grafana/dashboards/U6EKlHInz.json b/hosts/containers/grafana/dashboards/U6EKlHInz.json index 62b6721e..4227ab81 100644 --- a/hosts/containers/grafana/dashboards/U6EKlHInz.json +++ b/hosts/containers/grafana/dashboards/U6EKlHInz.json @@ -3,66 +3,106 @@ "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, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 17, "links": [], + "liveNow": false, "panels": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "description": "", "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 24, "x": 0, "y": 0 }, - "hiddenSeries": false, "id": 4, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.10", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_host $tag_type_instance", @@ -120,114 +160,143 @@ ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Nginx connections", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1899", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1900", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "description": "", "fieldConfig": { - "defaults": {}, - "overrides": [] + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "reqps" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/ accepted$/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#8AB8FF", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/ handled$/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#96D98D", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/ failed$/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#F2495C", + "mode": "fixed" + } + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 11, "w": 24, "x": 0, "y": 9 }, - "hiddenSeries": false, "id": 2, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.10", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:2111", - "alias": "/ accepted$/", - "color": "#8AB8FF" + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom" }, - { - "$$hashKey": "object:2119", - "alias": "/ handled$/", - "color": "#96D98D" - }, - { - "$$hashKey": "object:2127", - "alias": "/ failed$/", - "color": "#F2495C" + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_host connections $tag_type_instance", + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "groupBy": [ { "params": [ @@ -273,9 +342,15 @@ }, { "params": [ - "1s" + "10s" ], "type": "non_negative_derivative" + }, + { + "params": [ + " / 10" + ], + "type": "math" } ] ], @@ -288,63 +363,24 @@ ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Nginx connections", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1686", - "format": "reqps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1687", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" } ], - "schemaVersion": 27, + "schemaVersion": 36, "style": "dark", "tags": [], "templating": { "list": [] }, "time": { - "from": "now-6h", + "from": "now-7d", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Nginx", "uid": "U6EKlHInz", - "version": 2 -} + "version": 1, + "weekStart": "" +} \ No newline at end of file diff --git a/hosts/containers/grafana/dashboards/pVoyupoZk.json b/hosts/containers/grafana/dashboards/pVoyupoZk.json index d8237be4..e19b7555 100644 --- a/hosts/containers/grafana/dashboards/pVoyupoZk.json +++ b/hosts/containers/grafana/dashboards/pVoyupoZk.json @@ -4,7 +4,10 @@ { "$$hashKey": "object:66", "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -23,57 +26,88 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 5, - "iteration": 1643424574115, + "iteration": 1655678212481, "links": [], "liveNow": false, "panels": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 80, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 0, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" }, "overrides": [] }, - "fill": 8, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 0, "y": 0 }, - "hiddenSeries": false, "id": 6, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 0, - "nullPointMode": "connected", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.3.4", - "pointradius": 2, - "points": false, - "renderer": "flot", + "pluginVersion": "8.5.6", "repeatDirection": "h", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, "targets": [ { "alias": "$tag_type_instance", @@ -125,45 +159,18 @@ ] } ], - "thresholds": [], - "timeRegions": [], "title": "Memory usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1247", - "decimals": 0, - "format": "decbytes", - "label": "", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1248", - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "description": "", "fill": 1, "fillGradient": 0, @@ -192,7 +199,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.4", + "pluginVersion": "8.5.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -305,52 +312,83 @@ } }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, "overrides": [] }, - "fill": 3, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 0, "y": 6 }, - "hiddenSeries": false, "id": 4, "interval": "10", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.3.4", - "pointradius": 2, - "points": false, - "renderer": "flot", + "pluginVersion": "8.5.6", "repeatDirection": "h", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "alias": "Load15", @@ -482,92 +520,116 @@ ] } ], - "thresholds": [], - "timeRegions": [], "title": "Load average", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1574", - "format": "short", - "label": "", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1575", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "description": "Panel Title", "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "Temperature", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "celsius" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/ humidity$/" + }, + "properties": [ + { + "id": "unit", + "value": "humidity" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "min", + "value": 0 + }, + { + "id": "max", + "value": 100 + }, + { + "id": "custom.axisLabel", + "value": "Humidity" + } + ] + } + ] }, - "fill": 0, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 8 }, - "hiddenSeries": false, "id": 10, "interval": "10", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.3.4", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:545", - "alias": "/ humidity$/", - "yaxis": 2 + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_instance ($tag_type_instance)", @@ -755,48 +817,18 @@ ] } ], - "thresholds": [], - "timeRegions": [], "title": "Sensors", - "tooltip": { - "shared": false, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1707", - "format": "celsius", - "label": "Temperature", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1708", - "decimals": 0, - "format": "humidity", - "label": "Humidity", - "logBase": 1, - "max": "100", - "min": "0", - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "fieldConfig": { "defaults": { "links": [] @@ -830,7 +862,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.4", + "pluginVersion": "8.5.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -950,96 +982,213 @@ } }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 90, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 0, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/idle/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#56A64B", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/interrupt/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#C4162A", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/system/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#FF7383", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/softirq/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#FFEE52", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/steal/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#FF780A", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/user/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#1F60C4", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/wait/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#FA6400", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/nice/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#3274D9", + "mode": "fixed" + } + } + ] + } + ] }, - "fill": 9, - "fillGradient": 0, "gridPos": { "h": 17, "w": 12, "x": 12, "y": 16 }, - "hiddenSeries": false, "id": 2, "interval": "10", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 0, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": true, - "pluginVersion": "8.3.4", - "pointradius": 2, - "points": false, - "renderer": "flot", - "repeatDirection": "h", - "seriesOverrides": [ - { - "$$hashKey": "object:183", - "alias": "/idle/", - "color": "#56A64B" + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" }, - { - "$$hashKey": "object:184", - "alias": "/interrupt/", - "color": "#C4162A" - }, - { - "$$hashKey": "object:185", - "alias": "/system/", - "color": "#FF7383" - }, - { - "$$hashKey": "object:186", - "alias": "/softirq/", - "color": "#FFEE52" - }, - { - "$$hashKey": "object:187", - "alias": "/steal/", - "color": "#FF780A" - }, - { - "$$hashKey": "object:188", - "alias": "/user/", - "color": "#1F60C4" - }, - { - "$$hashKey": "object:189", - "alias": "/wait/", - "color": "#FA6400" - }, - { - "$$hashKey": "object:190", - "alias": "/nice/", - "color": "#3274D9" + "tooltip": { + "mode": "multi", + "sort": "desc" } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": false, + }, + "pluginVersion": "8.5.6", + "repeatDirection": "h", "targets": [ { "alias": "$tag_instance $tag_type_instance", + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "groupBy": [ { "params": [ @@ -1085,9 +1234,15 @@ }, { "params": [ - "1s" + "10s" ], "type": "non_negative_derivative" + }, + { + "params": [ + " / 10" + ], + "type": "math" } ] ], @@ -1100,102 +1255,129 @@ ] } ], - "thresholds": [], - "timeRegions": [], "title": "CPU", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:245", - "format": "none", - "logBase": 1, - "max": "100", - "min": "0", - "show": true - }, - { - "$$hashKey": "object:246", - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Bps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/ RX$/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#5794F2", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/ TX$/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#E02F44", + "mode": "fixed" + } + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 13, "w": 12, "x": 0, "y": 20 }, - "hiddenSeries": false, "id": 8, "interval": "10", - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": false, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.3.4", - "pointradius": 2, - "points": false, - "renderer": "flot", - "repeatDirection": "h", - "seriesOverrides": [ - { - "alias": "/ RX$/", - "color": "#5794F2" + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max" + ], + "displayMode": "table", + "placement": "bottom" }, - { - "alias": "/ TX$/", - "color": "#E02F44" + "tooltip": { + "mode": "multi", + "sort": "desc" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "8.5.6", + "repeatDirection": "h", "targets": [ { "alias": "$tag_instance RX", + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "groupBy": [ { "params": [ @@ -1240,6 +1422,12 @@ "10s" ], "type": "non_negative_derivative" + }, + { + "params": [ + " / 10" + ], + "type": "math" } ] ], @@ -1259,6 +1447,10 @@ }, { "alias": "$tag_instance TX", + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "groupBy": [ { "params": [ @@ -1303,6 +1495,12 @@ "10s" ], "type": "non_negative_derivative" + }, + { + "params": [ + " / 10" + ], + "type": "math" } ] ], @@ -1321,87 +1519,93 @@ ] } ], - "thresholds": [], - "timeRegions": [], "title": "Network throughput", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2027", - "format": "Bps", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:2028", - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Bps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 33 }, - "hiddenSeries": false, "id": 14, "interval": "10", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null as zero", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.3.4", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.5.6", "targets": [ { "alias": "$tag_instance read", + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "groupBy": [ { "params": [ @@ -1444,6 +1648,12 @@ "10s" ], "type": "non_negative_derivative" + }, + { + "params": [ + " / 10" + ], + "type": "math" } ] ], @@ -1463,6 +1673,10 @@ }, { "alias": "$tag_instance write", + "datasource": { + "type": "influxdb", + "uid": "P79EA3E036FD9FF91" + }, "groupBy": [ { "params": [ @@ -1505,6 +1719,12 @@ "10s" ], "type": "non_negative_derivative" + }, + { + "params": [ + " / 10" + ], + "type": "math" } ] ], @@ -1523,497 +1743,12 @@ ] } ], - "thresholds": [], - "timeRegions": [], "title": "Disk IO", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2465", - "format": "Bps", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:2466", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "description": "", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 33 - }, - "hiddenSeries": false, - "id": 19, - "interval": "10", - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.3.4", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "$tag_host $tag_instance: $tag_type_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "type_instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "ceph_value", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "1s" - ], - "type": "non_negative_derivative" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "ceph_rate" - }, - { - "condition": "AND", - "key": "host", - "operator": "=", - "value": "$server" - } - ] - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Ceph rates", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:304", - "format": "binBps", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:305", - "decimals": 3, - "format": "s", - "label": "", - "logBase": 1, - "min": "0", - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "description": "", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 41 - }, - "hiddenSeries": false, - "id": 18, - "interval": "10", - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.3.4", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "$tag_host $tag_instance: $tag_type_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "type_instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "ceph_value", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "ceph_latency" - }, - { - "condition": "AND", - "key": "type_instance", - "operator": "=~", - "value": "/Latency$/" - }, - { - "condition": "AND", - "key": "host", - "operator": "=", - "value": "$server" - } - ] - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Ceph latencies", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:304", - "format": "s", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:305", - "decimals": 3, - "format": "s", - "label": "", - "logBase": 1, - "min": "0", - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "description": "", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 41 - }, - "hiddenSeries": false, - "id": 20, - "interval": "10", - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.3.4", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "$tag_host $tag_instance: $tag_type_instance", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "host" - ], - "type": "tag" - }, - { - "params": [ - "instance" - ], - "type": "tag" - }, - { - "params": [ - "type_instance" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "ceph_value", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "type", - "operator": "=", - "value": "ceph_bytes" - }, - { - "condition": "AND", - "key": "host", - "operator": "=", - "value": "$server" - } - ] - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Ceph bytes", - "tooltip": { - "shared": false, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:304", - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:305", - "decimals": 3, - "format": "s", - "label": "", - "logBase": 1, - "min": "0", - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" } ], "refresh": false, - "schemaVersion": 34, + "schemaVersion": 36, "style": "dark", "tags": [], "templating": { @@ -2021,14 +1756,17 @@ { "current": { "selected": false, - "text": "radiobert", - "value": "radiobert" + "text": "server10", + "value": "server10" }, "datasource": { "type": "influxdb", "uid": "000000001" }, "definition": "SHOW TAG VALUES WITH KEY = \"host\"", + "error": { + "message": "Datasource 000000001 was not found" + }, "hide": 0, "includeAll": false, "multi": false, @@ -2047,7 +1785,7 @@ ] }, "time": { - "from": "now-7d", + "from": "now-24h", "to": "now" }, "timepicker": { @@ -2067,6 +1805,6 @@ "timezone": "", "title": "Servers", "uid": "pVoyupoZk", - "version": 26, + "version": 1, "weekStart": "" -} +} \ No newline at end of file