From c5249317073343531dd50fa514f531e9adff360a Mon Sep 17 00:00:00 2001 From: Steve Wilkerson Date: Thu, 2 Aug 2018 11:10:33 -0500 Subject: [PATCH] Grafana: Update Ceph Dashboards This fixes two issues with the Ceph dashboards in Grafana: the first fix addresses an incorrect heading for Utilized Capacity in the ceph cluster dashboard (was reporting utilized as available), and the second fix addresses the Pool Usage gauge to accurately reflect the percentage of the pool used (was incorrectly multiplying the percentage result by 100 a second time, resulting in large and inaccurate results) Change-Id: I024a555cdb82ee181eb414337b84e7ad62717c97 --- grafana/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grafana/values.yaml b/grafana/values.yaml index f939fb5c1..033c6e1bd 100644 --- a/grafana/values.yaml +++ b/grafana/values.yaml @@ -3595,7 +3595,7 @@ conf: refId: A step: 60 thresholds: '70,80' - title: Available Capacity + title: Current Utilization transparent: false type: singlestat valueFontSize: 100% @@ -5322,7 +5322,7 @@ conf: lineColor: rgb(31, 120, 193) show: false targets: - - expr: (ceph_pool_bytes_used{pool_id=~"$pool"} / ceph_pool_max_avail{pool_id=~"$pool"}) * 100 + - expr: (ceph_pool_bytes_used{pool_id=~"$pool"} / ceph_pool_max_avail{pool_id=~"$pool"}) interval: "$interval" intervalFactor: 1 refId: A