]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #61474 from piyushagarwal1411/osd
authorAashish Sharma <66050535+aaSharma14@users.noreply.github.com>
Tue, 11 Mar 2025 12:33:15 +0000 (18:03 +0530)
committerGitHub <noreply@github.com>
Tue, 11 Mar 2025 12:33:15 +0000 (18:03 +0530)
mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in osd.libsonnet to fix inconsistency in Line Graphs

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
1  2 
monitoring/ceph-mixin/dashboards/osd.libsonnet
monitoring/ceph-mixin/dashboards_out/osd-device-details.json
monitoring/ceph-mixin/dashboards_out/osds-overview.json

index e6e8e707ac7b26bb2b6730afe69cd6d0c4bc701a,5460610de18384554daca321ff5605cd346319f8..598a3165474c9ad8682e5c6435a4a701ba6d6727
     "graphTooltip": 0,
     "hideControls": false,
     "id": null,
 -   "links": [ ],
 +   "links": [
 +      {
 +         "asDropdown": true,
 +         "icon": "external link",
 +         "includeVars": true,
 +         "keepTime": true,
 +         "tags": [ ],
 +         "targetBlank": false,
 +         "title": "Browse Dashboards",
 +         "tooltip": "",
 +         "type": "dashboards",
 +         "url": ""
 +      }
 +   ],
     "panels": [
        {
-          "aliasColors": {
-             "@95%ile": "#e0752d"
-          },
-          "bars": false,
-          "dashLength": 10,
-          "dashes": false,
           "datasource": "$datasource",
-          "description": "",
           "fieldConfig": {
              "defaults": {
+                "color": {
+                   "mode": "palette-classic"
+                },
                 "custom": {
+                   "axisCenteredZero": false,
+                   "axisColorMode": "text",
+                   "axisLabel": "",
+                   "axisPlacement": "auto",
+                   "barAlignment": 0,
+                   "drawStyle": "line",
                    "fillOpacity": 8,
-                   "showPoints": "never"
+                   "gradientMode": "none",
+                   "hideFrom": {
+                      "legend": false,
+                      "tooltip": false,
+                      "viz": false
+                   },
+                   "lineInterpolation": "linear",
+                   "lineWidth": 1,
+                   "pointSize": 0,
+                   "scaleDistribution": {
+                      "type": "linear"
+                   },
+                   "showPoints": "",
+                   "spanNulls": true,
+                   "stacking": {
+                      "group": "A",
+                      "mode": "none"
+                   },
+                   "thresholdsStyle": {
+                      "mode": "off"
+                   }
+                },
+                "thresholds": {
+                   "mode": "absolute",
+                   "steps": [ ]
                 },
                 "unit": "ms"
-             }
+             },
+             "overrides": [ ]
           },
-          "fill": 1,
-          "fillGradient": 0,
           "gridPos": {
              "h": 8,
              "w": 8,