From 8d9fe8fd709fe2792dec5fdbf364e77e3446f7fb Mon Sep 17 00:00:00 2001 From: Aashish Sharma Date: Tue, 25 Mar 2025 17:05:05 +0530 Subject: [PATCH] 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 --- monitoring/ceph-mixin/dashboards/rbd.libsonnet | 2 +- monitoring/ceph-mixin/dashboards_out/rbd-details.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/monitoring/ceph-mixin/dashboards/rbd.libsonnet b/monitoring/ceph-mixin/dashboards/rbd.libsonnet index 635d71ad03f8..f19367a83b7d 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 ee414694a530..f20d4182ff2c 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, -- 2.47.3