From 370111ee48d077a64581905531f892d092f40dfb Mon Sep 17 00:00:00 2001 From: "Pai, Radhika (rp592h)" Date: Wed, 8 Jan 2020 21:02:39 +0000 Subject: [PATCH] Grafana: Updated the ceph OSD expression In Ceph Cluster Dashboard the OSDs In, OSDs Out, OSDs Down Panel was showing wrong values. Updated the expression from "count" to "sum" to show the correct values. Change-Id: I1959eeb445bf297c1ec696f3867315f05552b03e --- grafana/values_overrides/ceph.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/grafana/values_overrides/ceph.yaml b/grafana/values_overrides/ceph.yaml index b5a4546c4..358e33067 100644 --- a/grafana/values_overrides/ceph.yaml +++ b/grafana/values_overrides/ceph.yaml @@ -406,7 +406,7 @@ conf: lineColor: rgb(31, 120, 193) show: false targets: - - expr: count(ceph_osd_in{application="ceph",release_group="$ceph_cluster"}) + - expr: sum(ceph_osd_in{application="ceph",release_group="$ceph_cluster"}) interval: "$interval" intervalFactor: 1 legendFormat: '' @@ -466,7 +466,7 @@ conf: lineColor: rgb(31, 120, 193) show: false targets: - - expr: count(ceph_osd_metadata{application="ceph",release_group="$ceph_cluster"}) - count(ceph_osd_in{application="ceph",release_group="$ceph_cluster"}) + - expr: sum(ceph_osd_metadata{application="ceph",release_group="$ceph_cluster"}) - sum(ceph_osd_in{application="ceph",release_group="$ceph_cluster"}) interval: "$interval" intervalFactor: 1 legendFormat: '' @@ -586,7 +586,7 @@ conf: lineColor: rgb(31, 120, 193) show: false targets: - - expr: count(ceph_osd_metadata{application="ceph",release_group="$ceph_cluster"}) - count(ceph_osd_up{application="ceph",release_group="$ceph_cluster"}) + - expr: sum(ceph_osd_metadata{application="ceph",release_group="$ceph_cluster"}) - sum(ceph_osd_up{application="ceph",release_group="$ceph_cluster"}) interval: "$interval" intervalFactor: 1 legendFormat: ''