diff --git a/templates/grafana/dashboards/dashboard_overview_community_accomodations.json b/templates/grafana/dashboards/dashboard_overview_community_accomodations.json index 3a88706..0b8f9e6 100644 --- a/templates/grafana/dashboards/dashboard_overview_community_accomodations.json +++ b/templates/grafana/dashboards/dashboard_overview_community_accomodations.json @@ -354,6 +354,101 @@ "align": false } }, + { + "datasource": { + "type": "prometheus", + "uid": "aUZtGMdVk" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "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": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [], + "max": 1, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 0.5 + }, + { + "color": "red", + "value": 0.7 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 13 + }, + "id": 21, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "aUZtGMdVk" + }, + "editorMode": "code", + "expr": "sum(increase(wifi_network_airtime_busy{site=\"$site\"}[$__rate_interval])) by (instance,device) / sum(increase(wifi_network_airtime_total{site=\"$site\"}[$__rate_interval])) by (instance,device)", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "wifi airtime utilization", + "type": "timeseries" + }, { "datasource": { "type": "prometheus", @@ -384,7 +479,7 @@ "h": 8, "w": 12, "x": 0, - "y": 13 + "y": 21 }, "id": 3, "options": { @@ -466,7 +561,7 @@ "h": 8, "w": 12, "x": 12, - "y": 13 + "y": 21 }, "id": 13, "options": { @@ -527,7 +622,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -539,10 +635,11 @@ "h": 7, "w": 18, "x": 0, - "y": 21 + "y": 29 }, "id": 17, "options": { + "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" @@ -554,7 +651,7 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.0.6", "targets": [ { "datasource": { @@ -611,7 +708,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -626,11 +724,13 @@ "h": 7, "w": 6, "x": 18, - "y": 21 + "y": 29 }, "id": 15, "options": { "displayMode": "gradient", + "minVizHeight": 10, + "minVizWidth": 0, "orientation": "auto", "reduceOptions": { "calcs": [ @@ -642,7 +742,7 @@ "showUnfilled": true, "text": {} }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.0.6", "targets": [ { "datasource": { @@ -680,10 +780,14 @@ "list": [ { "current": { - "selected": false, + "selected": true, "text": "adp", "value": "adp" }, + "datasource": { + "type": "prometheus", + "uid": "aUZtGMdVk" + }, "definition": "label_values(wifi_network_clients, site)", "description": "which site ?", "hide": 0, @@ -705,13 +809,13 @@ ] }, "time": { - "from": "now-24h", + "from": "now-3h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Übersicht Gemeinschaftsunterkünfte", "uid": "1O2tNMOVk", - "version": 3, + "version": 4, "weekStart": "" } \ No newline at end of file