]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
updating review comment
authorAnushruti Sharma <anushruti10116@gmail.com>
Thu, 7 Aug 2025 13:20:13 +0000 (18:50 +0530)
committerAnushruti Sharma <anushruti10116@gmail.com>
Thu, 7 Aug 2025 13:32:31 +0000 (19:02 +0530)
Signed-off-by: Anushruti Sharma <anushruti10116@gmail.com>
updating changes

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

index 0b6c10e988cd24a4187868150d8a73b2c6a830f8..ed417437c34b17da9151d11799016d2597109d06 100644 (file)
@@ -310,18 +310,6 @@ local g = import 'grafonnet/grafana.libsonnet';
         ''
       )
     )
-    .addTemplate(
-      $.addTemplateSchema(
-        'topic',
-        '$datasource',
-        'label_values(ceph_rgw_topic_persistent_topic_len,topic)',
-        1,
-        true,
-        1,
-        'Topic',
-        ''
-      )
-    )
     .addPanels([
       $.addRowSchema(false,
                      true,
@@ -726,30 +714,30 @@ local g = import 'grafonnet/grafana.libsonnet';
         'short',
         |||
           (
-           ceph_rgw_topic_persistent_topic_len{topic=~"$topic"}
+           ceph_rgw_topic_persistent_topic_len
           )
         |||,
         '{{topic}}',
         0,
         28,
-        24,
-        7
+        12,
+        8
       ),
        RgwOverviewPanel(
         'Persistent Topic Size',
         '',
-        'bytes',
+        'deckbytes',
         'short',
         |||
           (
-           ceph_rgw_topic_persistent_topic_size{topic=~"$topic"}
+           ceph_rgw_topic_persistent_topic_size
           )
         |||,
         '{{topic}}',
-        0,
-        35,
-        24,
-        7
+        12,
+        28,
+        12,
+        8
       ),
     ]),
   'radosgw-detail.json':
index 768d7b42225be00c7854a6beacae1dc0f18aa746..28f5627473de9262ba0c1841036728936d2b96f7 100644 (file)
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
-            "h": 7,
-            "w": 24,
+            "h": 8,
+            "w": 12,
             "x": 0,
             "y": 28
          },
          "steppedLine": false,
          "targets": [
             {
-               "expr": "(\n ceph_rgw_topic_persistent_topic_len{topic=~\"$topic\"}\n)\n",
+               "expr": "(\n ceph_rgw_topic_persistent_topic_len\n)\n",
                "format": "time_series",
                "intervalFactor": 1,
                "legendFormat": "{{topic}}",
                   "fillOpacity": 8,
                   "showPoints": "never"
                },
-               "unit": "bytes"
+               "unit": "deckbytes"
             }
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
-            "h": 7,
-            "w": 24,
-            "x": 0,
-            "y": 35
+            "h": 8,
+            "w": 12,
+            "x": 12,
+            "y": 28
          },
          "id": 16,
          "legend": {
          "steppedLine": false,
          "targets": [
             {
-               "expr": "(\n ceph_rgw_topic_persistent_topic_size{topic=~\"$topic\"}\n)\n",
+               "expr": "(\n ceph_rgw_topic_persistent_topic_size\n)\n",
                "format": "time_series",
                "intervalFactor": 1,
                "legendFormat": "{{topic}}",
          },
          "yaxes": [
             {
-               "format": "bytes",
+               "format": "deckbytes",
                "label": null,
                "logBase": 1,
                "max": null,
             "tagsQuery": "",
             "type": "query",
             "useTags": false
-         },
-         {
-            "allValue": null,
-            "current": { },
-            "datasource": "$datasource",
-            "hide": 0,
-            "includeAll": true,
-            "label": "Topic",
-            "multi": false,
-            "name": "topic",
-            "options": [ ],
-            "query": "label_values(ceph_rgw_topic_persistent_topic_len,topic)",
-            "refresh": 1,
-            "regex": "",
-            "sort": 1,
-            "tagValuesQuery": "",
-            "tags": [ ],
-            "tagsQuery": "",
-            "type": "query",
-            "useTags": false
          }
       ]
    },