]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
fixing review comment
authorAnushruti Sharma <anushruti10116@gmail.com>
Mon, 25 Aug 2025 16:46:19 +0000 (22:16 +0530)
committerAashish Sharma <Aashish.Sharma1@ibm.com>
Thu, 4 Sep 2025 08:02:09 +0000 (13:32 +0530)
Signed-off-by: Anushruti Sharma <anushruti10116@gmail.com>
(cherry picked from commit b4446f20a34b0bc978f176a59e5f3c59ec58374d)

monitoring/ceph-mixin/dashboards/rgw.libsonnet
monitoring/ceph-mixin/dashboards_out/radosgw-overview.json

index db49fc6ab4f79e171d76d8eb4782758b3071ecb6..09d66f8b80ac8ed990ef505abbb7b55eb6321414 100644 (file)
@@ -200,7 +200,7 @@ local g = import 'grafonnet/grafana.libsonnet';
         1,
         datasource,
         legend_alignAsTable,
-        legend_avg,
+        legend_avg, 
         legend_min,
         legend_max,
         legend_current,
@@ -708,8 +708,8 @@ local g = import 'grafonnet/grafana.libsonnet';
         gridPos: { x: 0, y: 27, w: 24, h: 1 },
       },
       RgwOverviewPanel(
-        'Persistent Topic Length',
-        '',
+        'Pending Notifications by Topic',
+        'Shows the number of pending notifications in each Object topic queue, indicating how many messages are waiting to be delivered',
         '',
         'short',
         |||
@@ -722,10 +722,11 @@ local g = import 'grafonnet/grafana.libsonnet';
         28,
         12,
         8
-      ),
+        )
+      + { options: { legend: { calcs: ['lastNotNull'], displayMode: 'list', placement: 'right', showLegend: true, sortBy: 'Last *', sortDesc: true } } },
       RgwOverviewPanel(
-        'Persistent Topic Size',
-        '',
+        'Pending Notifications size',
+        'Shows the total size of pending notifications stored per Object topic, reflecting how much data is waiting to be delivered.',
         'deckbytes',
         'short',
         |||
@@ -738,7 +739,8 @@ local g = import 'grafonnet/grafana.libsonnet';
         28,
         12,
         8
-      ),
+      )
+      + { options: { legend: { calcs: ['lastNotNull'], displayMode: 'list', placement: 'right', showLegend: true, sortBy: 'Last *', sortDesc: true } } },
     ]),
   'radosgw-detail.json':
     local RgwDetailsPanel(aliasColors,
index 28f5627473de9262ba0c1841036728936d2b96f7..babfab80261099957c8cc1b3a9364996dafc53c2 100644 (file)
          "dashLength": 10,
          "dashes": false,
          "datasource": "$datasource",
-         "description": "",
+         "description": "Shows the number of pending notifications in each Object topic queue, indicating how many messages are waiting to be delivered",
          "fieldConfig": {
             "defaults": {
                "custom": {
          "linewidth": 1,
          "links": [ ],
          "nullPointMode": "null as zero",
+         "options": {
+            "legend": {
+               "calcs": [
+                  "lastNotNull"
+               ],
+               "displayMode": "list",
+               "placement": "right",
+               "showLegend": true,
+               "sortBy": "Last *",
+               "sortDesc": true
+            }
+         },
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "thresholds": [ ],
          "timeFrom": null,
          "timeShift": null,
-         "title": "Persistent Topic Length",
+         "title": "Pending Notifications by Topic",
          "tooltip": {
             "shared": true,
             "sort": 0,
          "dashLength": 10,
          "dashes": false,
          "datasource": "$datasource",
-         "description": "",
+         "description": "Shows the total size of pending notifications stored per Object topic, reflecting how much data is waiting to be delivered.",
          "fieldConfig": {
             "defaults": {
                "custom": {
          "linewidth": 1,
          "links": [ ],
          "nullPointMode": "null as zero",
+         "options": {
+            "legend": {
+               "calcs": [
+                  "lastNotNull"
+               ],
+               "displayMode": "list",
+               "placement": "right",
+               "showLegend": true,
+               "sortBy": "Last *",
+               "sortDesc": true
+            }
+         },
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "thresholds": [ ],
          "timeFrom": null,
          "timeShift": null,
-         "title": "Persistent Topic Size",
+         "title": "Pending Notifications size",
          "tooltip": {
             "shared": true,
             "sort": 0,