From: Enno Gotthold Date: Tue, 28 Apr 2020 11:34:16 +0000 (+0200) Subject: mgr/dashboard: Remove additional unneeded steps for the metrics calculation X-Git-Tag: v15.2.4~66^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bc605eaebe75bea60378cf96f0816793b9f7913a;p=ceph.git mgr/dashboard: Remove additional unneeded steps for the metrics calculation Signed-off-by: Enno Gotthold (cherry picked from commit dfb1e0020ed8130a2276be1ca94d8e7d7f931273) --- diff --git a/monitoring/grafana/dashboards/rbd-details.json b/monitoring/grafana/dashboards/rbd-details.json index 4180795ea085..c822e7dffe1c 100644 --- a/monitoring/grafana/dashboards/rbd-details.json +++ b/monitoring/grafana/dashboards/rbd-details.json @@ -256,14 +256,14 @@ "steppedLine": false, "targets": [ { - "expr": "round(sum(irate(ceph_rbd_write_latency_sum{pool=\"$Pool\", image=\"$Image\"}[30s])) / sum(irate(ceph_rbd_write_latency_count{pool=\"$Pool\", image=\"$Image\"}[30s])))", + "expr": "irate(ceph_rbd_write_latency_sum{pool=\"$Pool\", image=\"$Image\"}[30s]) / irate(ceph_rbd_write_latency_count{pool=\"$Pool\", image=\"$Image\"}[30s])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Write Latency Sum", "refId": "A" }, { - "expr": "round(sum(irate(ceph_rbd_read_latency_sum{pool=\"$Pool\", image=\"$Image\"}[30s])) / sum(irate(ceph_rbd_read_latency_count{pool=\"$Pool\", image=\"$Image\"}[30s])))", + "expr": "irate(ceph_rbd_read_latency_sum{pool=\"$Pool\", image=\"$Image\"}[30s]) / irate(ceph_rbd_read_latency_count{pool=\"$Pool\", image=\"$Image\"}[30s])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Read Latency Sum",