]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
monitoring/grafana: Remove erroneous elements in hosts-overview Grafana dashboard 41650/head
authorMalcolm Holmes <mdh@odoko.co.uk>
Sat, 17 Apr 2021 22:11:48 +0000 (23:11 +0100)
committerAvan Thakkar <athakkar@localhost.localdomain>
Wed, 2 Jun 2021 13:14:14 +0000 (18:44 +0530)
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 <mdh@odoko.co.uk>
(cherry picked from commit 382e293656cff4a0e7d84cc4d3dbfc005e82e10f)

monitoring/grafana/dashboards/hosts-overview.json

index 91673fabb29854bf32e8df0bc221df1003d3ff70..b179d5717d536c37c37a3d67f96cab130a05fbd9 100644 (file)
         "#d44a3a"
       ],
       "datasource": "$datasource",
-      "decimals": 0,
       "description": "Average CPU busy across all hosts (OSD, RGW, MON etc) within the cluster",
       "decimals": 2,
       "format": "percentunit",
         "#d44a3a"
       ],
       "datasource": "$datasource",
-      "decimals": 0,
       "description": "Average Memory Usage across all hosts in the cluster (excludes buffer/cache usage)",
       "decimals": 2,
       "format": "percentunit",