From: David Caro Date: Wed, 16 Jun 2021 08:32:15 +0000 (+0200) Subject: monitoring/grafana/cluster: use per-unit max and limit values X-Git-Tag: v16.2.6~77^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F42679%2Fhead;p=ceph.git monitoring/grafana/cluster: use per-unit max and limit values The value we get is a perunit, so the limits and the max value should be over 1, not 100. Note that the value being shown was correct, it was the gauge that was not showing the correct indicators. Signed-off-by: David Caro (cherry picked from commit c98129803935e720bb068fcf3700812c550f61b4) --- diff --git a/monitoring/grafana/dashboards/ceph-cluster.json b/monitoring/grafana/dashboards/ceph-cluster.json index 61a425d09f2e..e4e367efdd8b 100644 --- a/monitoring/grafana/dashboards/ceph-cluster.json +++ b/monitoring/grafana/dashboards/ceph-cluster.json @@ -264,7 +264,7 @@ "decimals": 2, "format": "percentunit", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, "show": true, "thresholdLabels": false, @@ -320,7 +320,7 @@ "refId": "A" } ], - "thresholds": "70,80", + "thresholds": "0.7,0.8", "title": "Capacity used", "type": "singlestat", "valueFontSize": "80%",