[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 <sanskarmodi97@gmail.com>
Signed-off-by: Shuang <lvshuang.xjs@alibaba-inc.com>
This commit is contained in:
Sanskar Modi 2024-10-30 09:55:43 +08:00 committed by Shuang
parent f4dc7a839b
commit 2c996133b9

View File

@ -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",