]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
monitoring/grafana: Remove erroneous elements in hosts-overview Grafana dashboard 41649/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:13:05 +0000 (18:43 +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 804aa51cc9df3defb9a3fe967f38e832ab9f32de..fe272a8a785f3d728021dc3a7d573c79aac9579f 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",