Set decimal precision to 2 positions for charts using percentunits.
Fixes: https://tracker.ceph.com/issues/45183
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit
3fd804f10b2335ebcee6b885e2f870e86ba14388)
"#d44a3a"
],
"datasource": "$datasource",
+ "decimals": 2,
"format": "percentunit",
"gauge": {
"maxValue": 100,
"datasource": "$datasource",
"decimals": 0,
"description": "Average CPU busy across all hosts (OSD, RGW, MON etc) within the cluster",
+ "decimals": 2,
"format": "percentunit",
"gauge": {
"maxValue": 100,
"datasource": "$datasource",
"decimals": 0,
"description": "Average Memory Usage across all hosts in the cluster (excludes buffer/cache usage)",
+ "decimals": 2,
"format": "percentunit",
"gauge": {
"maxValue": 100,
"#d44a3a"
],
"datasource": "$datasource",
+ "decimals": 2,
"format": "percentunit",
"gauge": {
"maxValue": 1,