Repository navigation
fix: provision UniFi Radio Health as V2 - #4907
Merged
Merged
Conversation
damacus
enabled auto-merge (squash)
November 26, 2026 13:12
@@ spec.upgrade @@
# helm.toolkit.fluxcd.io/v2/HelmRelease/monitoring/grafana
! - one map entry removed:
- remediation:
- retries: 3
! + one map entry added:
+ strategy:
+ name: RetryOnFailure
+ retryInterval: 5m
@@ spec.values @@
# helm.toolkit.fluxcd.io/v2/HelmRelease/monitoring/grafana
! + one map entry added:
+ initChownData:
+ enabled: false
@@ spec.values.deploymentStrategy.type @@
# helm.toolkit.fluxcd.io/v2/HelmRelease/monitoring/grafana
! ± value change
- RollingUpdate
+ Recreate
@@ spec.values.image @@
# helm.toolkit.fluxcd.io/v2/HelmRelease/monitoring/grafana
! + one map entry added:
+ tag: "13.3.2"
@@ data.unifi-radio.json @@
# v1/ConfigMap/monitoring/unifi-radio-dashboard
! ± value change in multiline text (16 inserts, 21 deletions)
{
- "uid": "unifi-radio-health",
- "title": "UniFi Radio Health",
- "tags": [
- "network",
- "unifi"
- ],
- "schemaVersion": 39,
- "version": 1,
- "refresh": "30s",
- "timezone": "browser",
- "time": {
- "from": "now-6h",
- "to": "now"
+ "apiVersion": "dashboard.grafana.app/v2beta1",
+ "kind": "Dashboard",
+ "metadata": {
+ "name": "unifi-radio-health"
},
- "panels": [
- {
- "id": 1,
- "title": "Channel utilisation (raw)",
- "type": "timeseries",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
+ "spec": {
+ "annotations": [
+ {
+ "kind": "AnnotationQuery",
+ "spec": {
+ "query": {
+ "kind": "DataQuery",
+ "group": "grafana",
+ "version": "v0",
+ "datasource": {
+ "name": "-- Grafana --"
+ },
+ "spec": {
+ }
+ },
+ "enable": true,
+ "hide": true,
+ "iconColor": "rgba(0, 211, 255, 1)",
+ "name": "Annotations & Alerts",
+ "builtIn": true
+ }
+ }
+ ],
+ "cursorSync": "Off",
+ "editable": true,
+ "elements": {
+ "panel-1": {
+ "kind": "Panel",
+ "spec": {
+ "id": 1,
+ "title": "Channel utilisation (raw)",
+ "description": "",
+ "links": [
+ ],
+ "data": {
+ "kind": "QueryGroup",
+ "spec": {
+ "queries": [
+ {
+ "kind": "PanelQuery",
+ "spec": {
+ "query": {
+ "kind": "DataQuery",
+ "group": "prometheus",
+ "version": "v0",
+ "datasource": {
+ "name": "prometheus"
+ },
+ "spec": {
+ "expr": "unpoller_device_radio_channel_utilization_total_ratio{job=\"unpoller\",name=~\"${ap}\",band=~\"${band}\"}",
+ "legendFormat": "{{name}} {{band}} GHz"
+ }
+ },
+ "refId": "A",
+ "hidden": false
+ }
+ }
+ ],
+ "transformations": [
+ ],
+ "queryOptions": {
+ }
+ }
+ },
+ "vizConfig": {
+ "kind": "VizConfig",
+ "group": "timeseries",
+ "version": "12.3.1",
+ "spec": {
+ "options": {
+ "legend": {
+ "calcs": [
+ ],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "fieldConfig": {
+ "defaults": {
+ "unit": "percentunit",
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "value": 0,
+ "color": "green"
+ },
+ {
+ "value": 80,
+ "color": "red"
+ }
+ ]
+ },
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ }
+ },
+ "overrides": [
+ ]
+ }
+ }
+ }
+ }
},
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 0
+ "panel-2": {
+ "kind": "Panel",
+ "spec": {
+ "id": 2,
+ "title": "Channel utilisation (5 minute mean)",
+ "description": "",
+ "links": [
+ ],
+ "data": {
+ "kind": "QueryGroup",
+ "spec": {
+ "queries": [
+ {
+ "kind": "PanelQuery",
+ "spec": {
+ "query": {
+ "kind": "DataQuery",
+ "group": "prometheus",
+ "version": "v0",
+ "datasource": {
+ "name": "prometheus"
+ },
+ "spec": {
+ "expr": "avg_over_time(unpoller_device_radio_channel_utilization_total_ratio{job=\"unpoller\",name=~\"${ap}\",band=~\"${band}\"}[5m])",
+ "legendFormat": "{{name}} {{band}} GHz"
+ }
+ },
+ "refId": "A",
+ "hidden": false
+ }
+ }
+ ],
+ "transformations": [
+ ],
+ "queryOptions": {
+ }
+ }
+ },
+ "vizConfig": {
+ "kind": "VizConfig",
+ "group": "timeseries",
+ "version": "12.3.1",
+ "spec": {
+ "options": {
+ "legend": {
+ "calcs": [
+ ],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "fieldConfig": {
+ "defaults": {
+ "unit": "percentunit",
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "value": 0,
+ "color": "green"
+ },
+ {
+ "value": 80,
+ "color": "red"
+ }
+ ]
+ },
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ }
+ },
+ "overrides": [
+ ]
+ }
+ }
+ }
+ }
},
- "fieldConfig": {
- "defaults": {
- "unit": "percentunit"
- },
- "overrides": []
+ "panel-3": {
+ "kind": "Panel",
+ "spec": {
+ "id": 3,
+ "title": "Receive airtime",
+ "description": "",
+ "links": [
+ ],
+ "data": {
+ "kind": "QueryGroup",
+ "spec": {
+ "queries": [
+ {
+ "kind": "PanelQuery",
+ "spec": {
+ "query": {
+ "kind": "DataQuery",
+ "group": "prometheus",
+ "version": "v0",
+ "datasource": {
+ "name": "prometheus"
+ },
+ "spec": {
+ "expr": "unpoller_device_radio_channel_utilization_receive_ratio{job=\"unpoller\",name=~\"${ap}\",band=~\"${band}\"}",
+ "legendFormat": "{{name}} {{band}} GHz"
+ }
+ },
+ "refId": "A",
+ "hidden": false
+ }
+ }
+ ],
+ "transformations": [
+ ],
+ "queryOptions": {
+ }
+ }
+ },
+ "vizConfig": {
+ "kind": "VizConfig",
+ "group": "timeseries",
+ "version": "12.3.1",
+ "spec": {
+ "options": {
+ "legend": {
+ "calcs": [
+ ],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "fieldConfig": {
+ "defaults": {
+ "unit": "percentunit",
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "value": 0,
+ "color": "green"
+ },
+ {
+ "value": 80,
+ "color": "red"
+ }
+ ]
+ },
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ }
+ },
+ "overrides": [
+ ]
+ }
+ }
+ }
+ }
},
- "targets": [
- {
- "refId": "A",
- "expr": "unpoller_device_radio_channel_utilization_total_ratio{job=\"unpoller\"}",
- "legendFormat": "{{name}} {{band}} GHz",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
+ "panel-4": {
+ "kind": "Panel",
+ "spec": {
+ "id": 4,
+ "title": "Transmit airtime",
+ "description": "",
+ "links": [
+ ],
+ "data": {
+ "kind": "QueryGroup",
+ "spec": {
+ "queries": [
+ {
+ "kind": "PanelQuery",
+ "spec": {
+ "query": {
+ "kind": "DataQuery",
+ "group": "prometheus",
+ "version": "v0",
+ "datasource": {
+ "name": "prometheus"
+ },
+ "spec": {
+ "expr": "unpoller_device_radio_channel_utilization_transmit_ratio{job=\"unpoller\",name=~\"${ap}\",band=~\"${band}\"}",
+ "legendFormat": "{{name}} {{band}} GHz"
+ }
+ },
+ "refId": "A",
+ "hidden": false
+ }
+ }
+ ],
+ "transformations": [
+ ],
+ "queryOptions": {
+ }
+ }
+ },
+ "vizConfig": {
+ "kind": "VizConfig",
+ "group": "timeseries",
+ "version": "12.3.1",
+ "spec": {
+ "options": {
+ "legend": {
+ "calcs": [
+ ],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "fieldConfig": {
+ "defaults": {
+ "unit": "percentunit",
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "value": 0,
+ "color": "green"
+ },
+ {
+ "value": 80,
+ "color": "red"
+ }
+ ]
+ },
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ }
+ },
+ "overrides": [
+ ]
+ }
+ }
}
}
- ]
- },
- {
- "id": 2,
- "title": "Channel utilisation (5 minute mean)",
- "type": "timeseries",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
},
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 0
- },
- "fieldConfig": {
- "defaults": {
- "unit": "percentunit"
- },
- "overrides": []
- },
- "targets": [
- {
- "refId": "A",
- "expr": "avg_over_time(unpoller_device_radio_channel_utilization_total_ratio{job=\"unpoller\"}[5m])",
- "legendFormat": "{{name}} {{band}} GHz",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
+ "panel-5": {
+ "kind": "Panel",
+ "spec": {
+ "id": 5,
+ "title": "Controller cache age",
+ "description": "Age of last successful controller collection. -1 means no successful collection. High or missing values mean radio readings cannot be trusted.",
+ "links": [
+ ],
+ "data": {
+ "kind": "QueryGroup",
+ "spec": {
+ "queries": [
+ {
+ "kind": "PanelQuery",
+ "spec": {
+ "query": {
+ "kind": "DataQuery",
+ "group": "prometheus",
+ "version": "v0",
+ "datasource": {
+ "name": "prometheus"
+ },
+ "spec": {
+ "expr": "unpoller_prometheus_cache_age_seconds{job=\"unpoller\"}",
+ "legendFormat": "{{name}} {{band}} GHz"
+ }
+ },
+ "refId": "A",
+ "hidden": false
+ }
+ }
+ ],
+ "transformations": [
+ ],
+ "queryOptions": {
+ }
+ }
+ },
+ "vizConfig": {
+ "kind": "VizConfig",
+ "group": "timeseries",
+ "version": "12.3.1",
+ "spec": {
+ "options": {
+ "legend": {
+ "calcs": [
+ ],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "fieldConfig": {
+ "defaults": {
+ "unit": "s",
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "value": 0,
+ "color": "green"
+ },
+ {
+ "value": 80,
+ "color": "red"
+ }
+ ]
+ },
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ }
+ },
+ "overrides": [
+ ]
+ }
+ }
}
}
- ]
- },
- {
- "id": 3,
- "title": "Receive airtime",
- "type": "timeseries",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
},
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 8
- },
- "fieldConfig": {
- "defaults": {
- "unit": "percentunit"
- },
- "overrides": []
- },
- "targets": [
- {
- "refId": "A",
- "expr": "unpoller_device_radio_channel_utilization_receive_ratio{job=\"unpoller\"}",
- "legendFormat": "{{name}} {{band}} GHz",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
+ "panel-6": {
+ "kind": "Panel",
+ "spec": {
+ "id": 6,
+ "title": "Radio retries (controller observation)",
+ "description": "Controller-provided gauge, not a monotonic counter. Does not include a separately exported mesh-backhaul retry series.",
+ "links": [
+ ],
+ "data": {
+ "kind": "QueryGroup",
+ "spec": {
+ "queries": [
+ {
+ "kind": "PanelQuery",
+ "spec": {
+ "query": {
+ "kind": "DataQuery",
+ "group": "prometheus",
+ "version": "v0",
+ "datasource": {
+ "name": "prometheus"
+ },
+ "spec": {
+ "expr": "unpoller_device_radio_transmit_retries{job=\"unpoller\",name=~\"${ap}\",band=~\"${band}\"}",
+ "legendFormat": "{{name}} {{band}} GHz"
+ }
+ },
+ "refId": "A",
+ "hidden": false
+ }
+ }
+ ],
+ "transformations": [
+ ],
+ "queryOptions": {
+ }
+ }
+ },
+ "vizConfig": {
+ "kind": "VizConfig",
+ "group": "timeseries",
+ "version": "12.3.1",
+ "spec": {
+ "options": {
+ "legend": {
+ "calcs": [
+ ],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "fieldConfig": {
+ "defaults": {
+ "unit": "short",
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "value": 0,
+ "color": "green"
+ },
+ {
+ "value": 80,
+ "color": "red"
+ }
+ ]
+ },
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ }
+ },
+ "overrides": [
+ ]
+ }
+ }
}
}
- ]
- },
- {
- "id": 4,
- "title": "Transmit airtime",
- "type": "timeseries",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
},
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 8
- },
- "fieldConfig": {
- "defaults": {
- "unit": "percentunit"
- },
- "overrides": []
- },
- "targets": [
- {
- "refId": "A",
- "expr": "unpoller_device_radio_channel_utilization_transmit_ratio{job=\"unpoller\"}",
- "legendFormat": "{{name}} {{band}} GHz",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
+ "panel-7": {
+ "kind": "Panel",
+ "spec": {
+ "id": 7,
+ "title": "Radio channel",
+ "description": "",
+ "links": [
+ ],
+ "data": {
+ "kind": "QueryGroup",
+ "spec": {
+ "queries": [
+ {
+ "kind": "PanelQuery",
+ "spec": {
+ "query": {
+ "kind": "DataQuery",
+ "group": "prometheus",
+ "version": "v0",
+ "datasource": {
+ "name": "prometheus"
+ },
+ "spec": {
+ "expr": "unpoller_device_radio_channel{job=\"unpoller\",name=~\"${ap}\",band=~\"${band}\"}",
+ "legendFormat": "{{name}} {{band}} GHz"
+ }
+ },
+ "refId": "A",
+ "hidden": false
+ }
+ }
+ ],
+ "transformations": [
+ ],
+ "queryOptions": {
+ }
+ }
+ },
+ "vizConfig": {
+ "kind": "VizConfig",
+ "group": "timeseries",
+ "version": "12.3.1",
+ "spec": {
+ "options": {
+ "legend": {
+ "calcs": [
+ ],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "fieldConfig": {
+ "defaults": {
+ "unit": "short",
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "value": 0,
+ "color": "green"
+ },
+ {
+ "value": 80,
+ "color": "red"
+ }
+ ]
+ },
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ }
+ },
+ "overrides": [
+ ]
+ }
+ }
}
}
- ]
- },
- {
- "id": 5,
- "title": "Controller cache age",
- "type": "timeseries",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
},
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 16
- },
- "fieldConfig": {
- "defaults": {
- "unit": "s"
- },
- "overrides": []
- },
- "targets": [
- {
- "refId": "A",
- "expr": "unpoller_prometheus_cache_age_seconds{job=\"unpoller\"}",
- "legendFormat": "{{name}} {{band}} GHz",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
+ "panel-8": {
+ "kind": "Panel",
+ "spec": {
+ "id": 8,
+ "title": "Exporter scrape availability",
+ "description": "",
+ "links": [
+ ],
+ "data": {
+ "kind": "QueryGroup",
+ "spec": {
+ "queries": [
+ {
+ "kind": "PanelQuery",
+ "spec": {
+ "query": {
+ "kind": "DataQuery",
+ "group": "prometheus",
+ "version": "v0",
+ "datasource": {
+ "name": "prometheus"
+ },
+ "spec": {
+ "expr": "up{job=\"unpoller\"}",
+ "legendFormat": "{{name}} {{band}} GHz"
+ }
+ },
+ "refId": "A",
+ "hidden": false
+ }
+ }
+ ],
+ "transformations": [
+ ],
+ "queryOptions": {
+ }
+ }
+ },
+ "vizConfig": {
+ "kind": "VizConfig",
+ "group": "timeseries",
+ "version": "12.3.1",
+ "spec": {
+ "options": {
+ "legend": {
+ "calcs": [
+ ],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "fieldConfig": {
+ "defaults": {
+ "unit": "short",
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "value": 0,
+ "color": "green"
+ },
+ {
+ "value": 80,
+ "color": "red"
+ }
+ ]
+ },
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ }
+ },
+ "overrides": [
+ ]
+ }
+ }
}
}
- ],
- "description": "Age of last successful controller collection. -1 means no successful collection. High or missing values mean radio readings cannot be trusted."
+ }
},
- {
- "id": 6,
- "title": "Radio retries (controller observation)",
- "type": "timeseries",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 16
- },
- "fieldConfig": {
- "defaults": {
- "unit": "short"
- },
- "overrides": []
- },
- "targets": [
- {
- "refId": "A",
- "expr": "unpoller_device_radio_transmit_retries{job=\"unpoller\"}",
- "legendFormat": "{{name}} {{band}} GHz",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
+ "layout": {
+ "kind": "GridLayout",
+ "spec": {
+ "items": [
+ {
+ "kind": "GridLayoutItem",
+ "spec": {
+ "x": 0,
+ "y": 0,
+ "width": 12,
+ "height": 8,
+ "element": {
+ "kind": "ElementReference",
+ "name": "panel-1"
+ }
+ }
+ },
+ {
+ "kind": "GridLayoutItem",
+ "spec": {
+ "x": 12,
+ "y": 0,
+ "width": 12,
+ "height": 8,
+ "element": {
+ "kind": "ElementReference",
+ "name": "panel-2"
+ }
+ }
+ },
+ {
+ "kind": "GridLayoutItem",
+ "spec": {
+ "x": 0,
+ "y": 8,
+ "width": 12,
+ "height": 8,
+ "element": {
+ "kind": "ElementReference",
+ "name": "panel-3"
+ }
+ }
+ },
+ {
+ "kind": "GridLayoutItem",
+ "spec": {
+ "x": 12,
+ "y": 8,
+ "width": 12,
+ "height": 8,
+ "element": {
+ "kind": "ElementReference",
+ "name": "panel-4"
+ }
+ }
+ },
+ {
+ "kind": "GridLayoutItem",
+ "spec": {
+ "x": 0,
+ "y": 16,
+ "width": 12,
+ "height": 8,
+ "element": {
+ "kind": "ElementReference",
+ "name": "panel-5"
+ }
+ }
+ },
+ {
+ "kind": "GridLayoutItem",
+ "spec": {
+ "x": 12,
+ "y": 16,
+ "width": 12,
+ "height": 8,
+ "element": {
+ "kind": "ElementReference",
+ "name": "panel-6"
+ }
+ }
+ },
+ {
+ "kind": "GridLayoutItem",
+ "spec": {
+ "x": 0,
+ "y": 24,
+ "width": 12,
+ "height": 8,
+ "element": {
+ "kind": "ElementReference",
+ "name": "panel-7"
+ }
+ }
+ },
+ {
+ "kind": "GridLayoutItem",
+ "spec": {
+ "x": 12,
+ "y": 24,
+ "width": 12,
+ "height": 8,
+ "element": {
+ "kind": "ElementReference",
+ "name": "panel-8"
+ }
+ }
}
- }
+ ]
+ }
+ },
+ "links": [
+ ],
+ "liveNow": false,
+ "preload": false,
+ "tags": [
+ "network",
+ "unifi"
+ ],
+ "timeSettings": {
+ "timezone": "browser",
+ "from": "now-6h",
+ "to": "now",
+ "autoRefresh": "30s",
+ "autoRefreshIntervals": [
+ "5s",
+ "10s",
+ "30s",
+ "1m",
+ "5m",
+ "15m",
+ "30m",
+ "1h",
+ "2h",
+ "1d"
],
- "description": "Controller-provided gauge, not a monotonic counter. Does not include a separately exported mesh-backhaul retry series."
+ "hideTimepicker": false,
+ "fiscalYearStartMonth": 0
},
- {
- "id": 7,
- "title": "Radio channel",
- "type": "timeseries",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 24
- },
- "fieldConfig": {
- "defaults": {
- "unit": "short"
- },
- "overrides": []
- },
- "targets": [
- {
- "refId": "A",
- "expr": "unpoller_device_radio_channel{job=\"unpoller\"}",
- "legendFormat": "{{name}} {{band}} GHz",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
- }
+ "title": "UniFi Radio Health",
+ "variables": [
+ {
+ "kind": "QueryVariable",
+ "spec": {
+ "name": "ap",
+ "current": {
+ "text": "All",
+ "value": "$__all"
+ },
+ "label": "Access point",
+ "hide": "dontHide",
+ "refresh": "onTimeRangeChanged",
+ "skipUrlSync": false,
+ "query": {
+ "kind": "DataQuery",
+ "group": "prometheus",
+ "version": "v0",
+ "datasource": {
+ "name": "prometheus"
+ },
+ "spec": {
+ "query": "label_values(unpoller_device_radio_channel{job=\"unpoller\"}, name)",
+ "refId": "PrometheusVariableQueryEditor-VariableQuery"
+ }
+ },
+ "regex": "",
+ "sort": "alphabeticalAsc",
+ "definition": "label_values(unpoller_device_radio_channel{job=\"unpoller\"}, name)",
+ "options": [
+ ],
+ "multi": true,
+ "includeAll": true,
+ "allValue": ".+",
+ "allowCustomValue": false
}
- ]
- },
- {
- "id": 8,
- "title": "Exporter scrape availability",
- "type": "timeseries",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
},
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 24
- },
- "fieldConfig": {
- "defaults": {
- "unit": "short"
- },
- "overrides": []
- },
- "targets": [
- {
- "refId": "A",
- "expr": "up{job=\"unpoller\"}",
- "legendFormat": "{{name}} {{band}} GHz",
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus"
- }
+ {
+ "kind": "QueryVariable",
+ "spec": {
+ "name": "band",
+ "current": {
+ "text": "All",
+ "value": "$__all"
+ },
+ "label": "Radio band",
+ "hide": "dontHide",
+ "refresh": "onTimeRangeChanged",
+ "skipUrlSync": false,
+ "query": {
+ "kind": "DataQuery",
+ "group": "prometheus",
+ "version": "v0",
+ "datasource": {
+ "name": "prometheus"
+ },
+ "spec": {
+ "query": "label_values(unpoller_device_radio_channel{job=\"unpoller\"}, band)",
+ "refId": "PrometheusVariableQueryEditor-VariableQuery"
+ }
+ },
+ "regex": "",
+ "sort": "numericalAsc",
+ "definition": "label_values(unpoller_device_radio_channel{job=\"unpoller\"}, band)",
+ "options": [
+ ],
+ "multi": true,
+ "includeAll": true,
+ "allValue": ".+",
+ "allowCustomValue": false
}
- ]
- }
- ]
+ }
+ ]
+ }
}
@@ metadata.annotations @@
# v1/ConfigMap/monitoring/unifi-radio-dashboard
! + one map entry added:
+ kustomize.toolkit.fluxcd.io/substitute: disabled
@@ spec.strategy.type @@
# apps/v1/Deployment/monitoring/grafana
! ± value change
- RollingUpdate
+ Recreate
@@ spec.template.spec.containers.grafana.image @@
# apps/v1/Deployment/monitoring/grafana
! ± value change
- docker.io/grafana/grafana:12.3.1
+ docker.io/grafana/grafana:13.3.2
@@ spec.template.spec.initContainers @@
# apps/v1/Deployment/monitoring/grafana
! - one list entry removed:
- - name: init-chown-data
- image: "docker.io/library/busybox:1.31.1"
- imagePullPolicy: IfNotPresent
- command:
- - chown
- - "-R"
- - "472:472"
- - /var/lib/grafana
- volumeMounts:
- - name: storage
- mountPath: /var/lib/grafana
- securityContext:
- capabilities:
- add:
- - CHOWN
- drop:
- - ALL
- readOnlyRootFilesystem: false
- runAsNonRoot: false
- runAsUser: 0
- seccompProfile:
- type: RuntimeDefault
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Keeps UniFi Radio Health and its access point and radio band selectors in Flux. Grafana 13.3.2 loads the V2 dashboard through the existing file provider. The default remains six hours, and Prometheus handles escaping for bands such as 2.4 GHz.
The single Grafana replica stops before the new one opens SQLite. Flux retries a failed upgrade without automatically starting Grafana 12 against the migrated database. A downgrade requires restoring the pre-upgrade SQLite backup.
On Docker Desktop,
helm upgradeupgraded the existing Grafana 12.3.1 release with its original PVC and the ownership reset disabled. The Grafana API could read a folder created before the upgrade and create a second folder after it. Both were readable afterkubectl rollout restart. The local Grafana browser rendered one synthetic series with 2.4 GHz selected, two with 2.4 and 5 GHz selected, and all three with the filters cleared. Live filter verification follows the merge.