From 6b085c5a63c3be1412b5abc373c6015858e9b951 Mon Sep 17 00:00:00 2001 From: Chris Hain Date: Fri, 6 Dec 2024 09:04:11 -0800 Subject: [PATCH 1/2] fix unit scale on vs / asm charts --- .../dashboards/bigip/device/device-virtual-server.json | 4 ++-- .../provisioning/dashboards/bigip/device/top-n.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/grafana/provisioning/dashboards/bigip/device/device-virtual-server.json b/services/grafana/provisioning/dashboards/bigip/device/device-virtual-server.json index 77f419e..c07ae63 100644 --- a/services/grafana/provisioning/dashboards/bigip/device/device-virtual-server.json +++ b/services/grafana/provisioning/dashboards/bigip/device/device-virtual-server.json @@ -1481,7 +1481,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "axisSoftMax": 1, + "axisSoftMax": 100, "axisSoftMin": 0, "barAlignment": 0, "barWidthFactor": 0.6, @@ -1523,7 +1523,7 @@ } ] }, - "unit": "percentunit" + "unit": "percent" }, "overrides": [] }, diff --git a/services/grafana/provisioning/dashboards/bigip/device/top-n.json b/services/grafana/provisioning/dashboards/bigip/device/top-n.json index 5ab32db..3a18ac8 100644 --- a/services/grafana/provisioning/dashboards/bigip/device/top-n.json +++ b/services/grafana/provisioning/dashboards/bigip/device/top-n.json @@ -85,7 +85,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "axisSoftMax": 1, + "axisSoftMax": 100, "axisSoftMin": 0, "barAlignment": 0, "barWidthFactor": 0.6, @@ -129,7 +129,7 @@ } ] }, - "unit": "percentunit" + "unit": "percent" }, "overrides": [] }, @@ -408,7 +408,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "axisSoftMax": 1, + "axisSoftMax": 100, "axisSoftMin": 0, "barAlignment": 0, "barWidthFactor": 0.6, @@ -451,7 +451,7 @@ } ] }, - "unit": "percentunit" + "unit": "percent" }, "overrides": [] }, From e7d8fb507931b63342bc23d2872470764cc9e411 Mon Sep 17 00:00:00 2001 From: Chris Hain Date: Fri, 6 Dec 2024 15:12:21 -0800 Subject: [PATCH 2/2] fix query for product type in inventory dashboard --- .../dashboards/bigip/fleet/fleet-inventory.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/grafana/provisioning/dashboards/bigip/fleet/fleet-inventory.json b/services/grafana/provisioning/dashboards/bigip/fleet/fleet-inventory.json index 3a3c335..a6d711b 100644 --- a/services/grafana/provisioning/dashboards/bigip/fleet/fleet-inventory.json +++ b/services/grafana/provisioning/dashboards/bigip/fleet/fleet-inventory.json @@ -191,7 +191,7 @@ "refId": "A" } ], - "title": "Inventory Total By Device Type", + "title": "Inventory Total By Product Name", "type": "piechart" }, { @@ -249,14 +249,14 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(f5_system_info) by (system_product_name)", + "expr": "sum(f5_system_info) by (f5_system_marketing_name)", "instant": false, "legendFormat": "__auto", "range": true, "refId": "A" } ], - "title": "Inventory Total By Device Type", + "title": "Inventory Total By Porduct Type", "type": "piechart" }, {