From: Aashish Sharma Date: Tue, 25 Mar 2025 11:35:05 +0000 (+0530) Subject: mgr/dashboard: fix image filter's query on rbd-details grafana panel X-Git-Tag: testing/wip-vshankar-testing-20250407.170244-debug~96^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8d9fe8fd709fe2792dec5fdbf364e77e3446f7fb;p=ceph-ci.git mgr/dashboard: fix image filter's query on rbd-details grafana panel The image filter on the RBD Details grafana panel is using a query with a type "label_values(ceph_rbd_read_ops{cluster=~\"$cluster\", , pool=\"$pool\"}, image)". The extra comma needs to be removed. Fixes: https://tracker.ceph.com/issues/70653 Signed-off-by: Aashish Sharma --- diff --git a/monitoring/ceph-mixin/dashboards/rbd.libsonnet b/monitoring/ceph-mixin/dashboards/rbd.libsonnet index 635d71ad03f..f19367a83b7 100644 --- a/monitoring/ceph-mixin/dashboards/rbd.libsonnet +++ b/monitoring/ceph-mixin/dashboards/rbd.libsonnet @@ -94,7 +94,7 @@ local info_rbd_stats = std.join( .addTemplate( $.addTemplateSchema('image', '$datasource', - 'label_values(ceph_rbd_read_ops{%(matchers)s, pool="$pool"}, image)' % $.matchers(), + 'label_values(ceph_rbd_read_ops{%(matchers)s pool="$pool"}, image)' % $.matchers(), 1, false, 0, diff --git a/monitoring/ceph-mixin/dashboards_out/rbd-details.json b/monitoring/ceph-mixin/dashboards_out/rbd-details.json index ee414694a53..f20d4182ff2 100644 --- a/monitoring/ceph-mixin/dashboards_out/rbd-details.json +++ b/monitoring/ceph-mixin/dashboards_out/rbd-details.json @@ -430,7 +430,7 @@ "multi": false, "name": "image", "options": [ ], - "query": "label_values(ceph_rbd_read_ops{cluster=~\"$cluster\", , pool=\"$pool\"}, image)", + "query": "label_values(ceph_rbd_read_ops{cluster=~\"$cluster\", pool=\"$pool\"}, image)", "refresh": 1, "regex": "", "sort": 0,