Change the query for the apply latency
In case of bluestore apply_latency==commit_latency and apply_latency
metric doesn't exist in 'ceph perf dump'
Related-PROD: PROD-21043
Change-Id: Ic8e856a344c74c12e4502f1471e81fb4916f701a
diff --git a/ceph/files/grafana_dashboards/ceph_cluster_prometheus.json b/ceph/files/grafana_dashboards/ceph_cluster_prometheus.json
index d6fd822..4aee527 100644
--- a/ceph/files/grafana_dashboards/ceph_cluster_prometheus.json
+++ b/ceph/files/grafana_dashboards/ceph_cluster_prometheus.json
@@ -1166,7 +1166,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "avg(ceph_apply_latency_sum) / avg(ceph_apply_latency_avgcount)",
+ "expr": "(avg(ceph_apply_latency_sum) / avg(ceph_apply_latency_avgcount)) or (avg(ceph_commit_latency_sum) / avg(ceph_commit_latency_avgcount))",
"format": "time_series",
"interval": "",
"intervalFactor": 1,