diff --git a/dashboards/Merlin7/Slurm_Native_OpenMetrics.json b/dashboards/Merlin7/Slurm_Native_OpenMetrics.json index eefb9e8..36068b6 100644 --- a/dashboards/Merlin7/Slurm_Native_OpenMetrics.json +++ b/dashboards/Merlin7/Slurm_Native_OpenMetrics.json @@ -407,12 +407,36 @@ } } ] + }, + { + "matcher": { + "id": "byName", + "options": "drain" + }, + "properties": [ + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 1 + } + ] + } + } + ] } ] }, "gridPos": { "h": 4, - "w": 3, + "w": 4, "x": 6, "y": 5 }, @@ -479,6 +503,19 @@ "legendFormat": "down", "range": true, "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "merlin-mimir" + }, + "editorMode": "code", + "expr": "slurm_nodes_draining{instance=\"$slurm_instance\"} + slurm_nodes_drained{instance=\"$slurm_instance\"} ", + "hide": false, + "instant": false, + "legendFormat": "drain", + "range": true, + "refId": "E" } ], "title": "Nodes (idle/mix/alloc/down)", @@ -1077,7 +1114,7 @@ "refId": "B" } ], - "title": "CPU Allocation by Partition (mc nodes)", + "title": "CPU Allocation by Partition", "type": "timeseries" }, { @@ -3801,5 +3838,5 @@ "timezone": "", "title": "Slurm Native OpenMetrics", "uid": "ba818a63-c187-4860-83ab-59e7e457b77f", - "version": 41 + "version": 47 }