From 78d2d84f4268ba420e55c50a6832953498fc0db1 Mon Sep 17 00:00:00 2001 From: Adrian Woodley Date: Wed, 22 Apr 2026 12:49:14 +0800 Subject: [PATCH] Add Grafana dashboard --- ...al Channel Availability-1776833319105.json | 247 ++++++++++++++++++ 1 file changed, 247 insertions(+) create mode 100644 Conventional Channel Availability-1776833319105.json diff --git a/Conventional Channel Availability-1776833319105.json b/Conventional Channel Availability-1776833319105.json new file mode 100644 index 0000000..9cfa6bd --- /dev/null +++ b/Conventional Channel Availability-1776833319105.json @@ -0,0 +1,247 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "links": [], + "panels": [ + { + "datasource": { + "type": "influxdb", + "uid": "efinckndwm6tcf" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 35, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 29, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.4.2", + "targets": [ + { + "query": "from(bucket: \"UEM-Events\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"channel_status\")\n |> filter(fn: (r) => r[\"_field\"] == \"status\")\n |> filter(fn: (r) => not (r[\"channel\"] == \"CGES5 Leonora\" or r[\"channel\"] == \"CKS5 Kalumburu\" or r[\"channel\"] == \"CKS1 Balgo\" or r[\"channel\"] == \"CPS2 Jigalong\"))\n |> aggregateWindow(every: 24h, fn: sum)\n |> cumulativeSum()", + "refId": "A" + } + ], + "title": "Cumulative Downtime", + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "efinckndwm6tcf" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 35, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "status CMG5-1:Northampton East" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": true, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 29, + "w": 24, + "x": 0, + "y": 29 + }, + "id": 3, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.4.2", + "targets": [ + { + "query": "from(bucket: \"UEM-Events\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"channel_status\")\n |> filter(fn: (r) => r[\"_field\"] == \"status\")\n |> filter(fn: (r) => not (r[\"channel\"] == \"CGES5 Leonora\" or r[\"channel\"] == \"CKS5 Kalumburu\"))\n// |> filter(fn: (r) => (r[\"channel\"] == \"CMG4-1:Coomallo Hill East\"))\n |> aggregateWindow(every: v.windowPeriod, fn: sum)\n |> fill(value: 100)", + "refId": "A" + } + ], + "title": "Channel Availability", + "type": "timeseries" + } + ], + "preload": false, + "schemaVersion": 42, + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "2022-12-31T16:00:00.000Z", + "to": "2026-04-14T16:00:00.000Z" + }, + "timepicker": {}, + "timezone": "browser", + "title": "Conventional Channel Availability", + "uid": "adzwj9s", + "version": 11, + "weekStart": "" +} \ No newline at end of file