]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
monitoring/grafana/cluster: use per-unit max and limit values 41880/head
authorDavid Caro <dcaro@wikimedia.org>
Wed, 16 Jun 2021 08:32:15 +0000 (10:32 +0200)
committerDavid Caro <david@dcaro.es>
Wed, 16 Jun 2021 08:38:41 +0000 (10:38 +0200)
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 <david@dcaro.es>
monitoring/grafana/dashboards/ceph-cluster.json

index 447dbb29322e599664eac167ea6510bf719d0e53..21b46f14ed374e22ad3d8b49106661a695d0bdc7 100644 (file)
       "decimals": 2,
       "format": "percentunit",
       "gauge": {
-        "maxValue": 100,
+        "maxValue": 1,
         "minValue": 0,
         "show": true,
         "thresholdLabels": false,
           "refId": "A"
         }
       ],
-      "thresholds": "70,80",
+      "thresholds": "0.7,0.8",
       "title": "Capacity used",
       "type": "singlestat",
       "valueFontSize": "80%",