From 5d019c067769b5f14f8f4ae6c7af1cb937b3a1a1 Mon Sep 17 00:00:00 2001 From: Malcolm Holmes Date: Sat, 17 Apr 2021 23:11:48 +0100 Subject: [PATCH] monitoring/grafana: Remove erroneous elements in hosts-overview Grafana dashboard The hosts-overview Grafana dashboard json file contains a repeated element, making it invalid JSON. Some JSON parsers handle this. However, this prevents Jsonnet from parsing the dashboard, which prevents the deployment of this dashboard via Jsonnet. Fixes: https://tracker.ceph.com/issues/50410 Signed-off-by: Malcolm Holmes (cherry picked from commit 382e293656cff4a0e7d84cc4d3dbfc005e82e10f) --- monitoring/grafana/dashboards/hosts-overview.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/monitoring/grafana/dashboards/hosts-overview.json b/monitoring/grafana/dashboards/hosts-overview.json index 804aa51cc9df3..fe272a8a785f3 100644 --- a/monitoring/grafana/dashboards/hosts-overview.json +++ b/monitoring/grafana/dashboards/hosts-overview.json @@ -131,7 +131,6 @@ "#d44a3a" ], "datasource": "$datasource", - "decimals": 0, "description": "Average CPU busy across all hosts (OSD, RGW, MON etc) within the cluster", "decimals": 2, "format": "percentunit", @@ -215,7 +214,6 @@ "#d44a3a" ], "datasource": "$datasource", - "decimals": 0, "description": "Average Memory Usage across all hosts in the cluster (excludes buffer/cache usage)", "decimals": 2, "format": "percentunit", -- 2.39.5