]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix RGW Bucket Notification Dashboard units 65384/head
authorAashish Sharma <Aashish.Sharma1@ibm.com>
Thu, 4 Sep 2025 08:10:00 +0000 (13:40 +0530)
committerAashish Sharma <Aashish.Sharma1@ibm.com>
Thu, 4 Sep 2025 08:10:00 +0000 (13:40 +0530)
Fixes: https://tracker.ceph.com/issues/72868
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
monitoring/ceph-mixin/dashboards/rgw.libsonnet
monitoring/ceph-mixin/dashboards_out/radosgw-overview.json

index 0588f451f7ab8eeb92f43b706d7972282794bffa..6a11a633b8ac8941c1a45b31a7d49755a1b17635 100644 (file)
@@ -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,
index a5f27d17abab63aece72849b7583b28e240f8b0d..8f9d0053e62a8c099f15176bcf0d229b67a87b7b 100644 (file)
                "displayMode": "list",
                "placement": "right",
                "showLegend": true,
-               "sortBy": "Last *",
                "sortDesc": true
             }
          },
                   "fillOpacity": 8,
                   "showPoints": "never"
                },
-               "unit": "deckbytes"
+               "unit": "bytes"
             }
          },
          "fill": 1,
                "displayMode": "list",
                "placement": "right",
                "showLegend": true,
-               "sortBy": "Last *",
                "sortDesc": true
             }
          },
          },
          "yaxes": [
             {
-               "format": "deckbytes",
+               "format": "bytes",
                "label": null,
                "logBase": 1,
                "max": null,