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>
"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%",