This is an automated email from the ASF dual-hosted git repository.

rexxiong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/celeborn.git


The following commit(s) were added to refs/heads/main by this push:
     new 2c996133b [CELEBORN-1444][FOLLOWUP] Add IsDecommissioningWorker to 
celeborn dashboard
2c996133b is described below

commit 2c996133b98eb47227f907b1e50e8bbc90636749
Author: Sanskar Modi <[email protected]>
AuthorDate: Wed Oct 30 09:55:43 2024 +0800

    [CELEBORN-1444][FOLLOWUP] Add IsDecommissioningWorker to celeborn dashboard
    
    ### What changes were proposed in this pull request?
    
    Adding IsDecommissioningWorker metric to celeborn dashboard
    
    ### Why are the changes needed?
    
    Metric was missing from dashboard
    
    ### Does this PR introduce _any_ user-facing change?
    
    NA
    
    ### How was this patch tested?
    
    Tested in local grafana setup
    
    <img width="755" alt="Screenshot 2024-10-21 at 5 19 55 PM" 
src="https://github.com/user-attachments/assets/7c0a2517-32a8-4565-81d8-a056d3708ac8";>
    
    Closes #2836 from s0nskar/decommision_metric.
    
    Authored-by: Sanskar Modi <[email protected]>
    Signed-off-by: Shuang <[email protected]>
---
 assets/grafana/celeborn-dashboard.json | 94 ++++++++++++++++++++++++++++++++++
 1 file changed, 94 insertions(+)

diff --git a/assets/grafana/celeborn-dashboard.json 
b/assets/grafana/celeborn-dashboard.json
index 30306d40d..b9297b88c 100644
--- a/assets/grafana/celeborn-dashboard.json
+++ b/assets/grafana/celeborn-dashboard.json
@@ -2679,6 +2679,100 @@
           ],
           "title": "metrics_UnreleasedShuffleCount_Value",
           "type": "timeseries"
+        },
+        {
+          "datasource": {
+            "default": false,
+            "type": "prometheus",
+            "uid": "${DS_PROMETHEUS}"
+          },
+          "fieldConfig": {
+            "defaults": {
+              "color": {
+                "mode": "palette-classic"
+              },
+              "custom": {
+                "axisCenteredZero": false,
+                "axisColorMode": "text",
+                "axisLabel": "",
+                "axisPlacement": "auto",
+                "barAlignment": 0,
+                "drawStyle": "line",
+                "fillOpacity": 0,
+                "gradientMode": "none",
+                "hideFrom": {
+                  "legend": false,
+                  "tooltip": false,
+                  "viz": false
+                },
+                "lineInterpolation": "linear",
+                "lineWidth": 1,
+                "pointSize": 5,
+                "scaleDistribution": {
+                  "type": "linear"
+                },
+                "showPoints": "auto",
+                "spanNulls": false,
+                "stacking": {
+                  "group": "A",
+                  "mode": "none"
+                },
+                "thresholdsStyle": {
+                  "mode": "off"
+                }
+              },
+              "mappings": [],
+              "thresholds": {
+                "mode": "absolute",
+                "steps": [
+                  {
+                    "color": "green",
+                    "value": null
+                  },
+                  {
+                    "color": "red",
+                    "value": 80
+                  }
+                ]
+              }
+            },
+            "overrides": []
+          },
+          "gridPos": {
+            "h": 8,
+            "w": 12,
+            "x": 0,
+            "y": 62
+          },
+          "id": 217,
+          "options": {
+            "legend": {
+              "calcs": [],
+              "displayMode": "list",
+              "placement": "bottom",
+              "showLegend": true
+            },
+            "tooltip": {
+              "mode": "single",
+              "sort": "none"
+            }
+          },
+          "targets": [
+            {
+              "datasource": {
+                "type": "prometheus",
+                "uid": "${DS_PROMETHEUS}"
+              },
+              "editorMode": "builder",
+              "expr": 
"metrics_IsDecommissioningWorker_Value{instance=~\"${instance}\"}",
+              "legendFormat": "${baseLegend}",
+              "instant": false,
+              "range": true,
+              "refId": "A"
+            }
+          ],
+          "title": "metrics_IsDecommissioningWorker_Value",
+          "type": "timeseries"
         }
       ],
       "title": "Worker",

Reply via email to