From 2c2f1f83ecad42a4de0d4df3f4a44c9c2b69390f Mon Sep 17 00:00:00 2001 From: Aashish Sharma Date: Thu, 4 Sep 2025 13:40:00 +0530 Subject: [PATCH] mgr/dashboard: fix RGW Bucket Notification Dashboard units Fixes: https://tracker.ceph.com/issues/72868 Signed-off-by: Aashish Sharma --- monitoring/ceph-mixin/dashboards/rgw.libsonnet | 6 +++--- monitoring/ceph-mixin/dashboards_out/radosgw-overview.json | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/monitoring/ceph-mixin/dashboards/rgw.libsonnet b/monitoring/ceph-mixin/dashboards/rgw.libsonnet index 0588f451f7ab8..6a11a633b8ac8 100644 --- a/monitoring/ceph-mixin/dashboards/rgw.libsonnet +++ b/monitoring/ceph-mixin/dashboards/rgw.libsonnet @@ -723,11 +723,11 @@ local g = import 'grafonnet/grafana.libsonnet'; 12, 8 ) - + { options: { legend: { calcs: ['lastNotNull'], displayMode: 'list', placement: 'right', showLegend: true, sortBy: 'Last *', sortDesc: true } } }, + + { options: { legend: { calcs: ['lastNotNull'], displayMode: 'list', placement: 'right', showLegend: true, sortDesc: true } } }, RgwOverviewPanel( 'Pending Notifications Size by Topic', 'Shows the total size of pending notifications stored per Object topic, reflecting how much data is waiting to be delivered.', - 'deckbytes', + 'bytes', 'short', ||| ( @@ -740,7 +740,7 @@ local g = import 'grafonnet/grafana.libsonnet'; 12, 8 ) - + { options: { legend: { calcs: ['lastNotNull'], displayMode: 'list', placement: 'right', showLegend: true, sortBy: 'Last *', sortDesc: true } } }, + + { options: { legend: { calcs: ['lastNotNull'], displayMode: 'list', placement: 'right', showLegend: true, sortDesc: true } } }, ]), 'radosgw-detail.json': local RgwDetailsPanel(aliasColors, diff --git a/monitoring/ceph-mixin/dashboards_out/radosgw-overview.json b/monitoring/ceph-mixin/dashboards_out/radosgw-overview.json index a5f27d17abab6..8f9d0053e62a8 100644 --- a/monitoring/ceph-mixin/dashboards_out/radosgw-overview.json +++ b/monitoring/ceph-mixin/dashboards_out/radosgw-overview.json @@ -1254,7 +1254,6 @@ "displayMode": "list", "placement": "right", "showLegend": true, - "sortBy": "Last *", "sortDesc": true } }, @@ -1325,7 +1324,7 @@ "fillOpacity": 8, "showPoints": "never" }, - "unit": "deckbytes" + "unit": "bytes" } }, "fill": 1, @@ -1361,7 +1360,6 @@ "displayMode": "list", "placement": "right", "showLegend": true, - "sortBy": "Last *", "sortDesc": true } }, @@ -1402,7 +1400,7 @@ }, "yaxes": [ { - "format": "deckbytes", + "format": "bytes", "label": null, "logBase": 1, "max": null, -- 2.39.5