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
This commit is contained in:
parent
c2ece6a45a
commit
370111ee48
@ -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: ''
|
||||
|
Loading…
Reference in New Issue
Block a user