Skip to content

Commit 87198c0

Browse files
Merge branch 'twans_15.3' into 'development'
Twans 15.3 See merge request clustervision/trinityx-combined!451
2 parents f3568a4 + 367da59 commit 87198c0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

site/roles/trinity/grafana/files/dashboards/trinityx-prometheus-slurm-job.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1876,7 +1876,7 @@
18761876
},
18771877
"editorMode": "code",
18781878
"exemplar": false,
1879-
"expr": "sum(rate(({__name__=~\"slurm_job_gpu_.*_seconds_total\", jobid=~\"$job_id\"}>0)[$__rate_interval:]))",
1879+
"expr": "sum(\r\n rate(\r\n label_replace(\r\n {__name__=~\"slurm_job_gpu_.*_seconds_total\", jobid=\"$job_id\"},\r\n \"metric\", \"$1\", \"__name__\", \"(.*)\"\r\n )[$__rate_interval:]\r\n )\r\n)",
18801880
"hide": false,
18811881
"instant": false,
18821882
"interval": "30s",
@@ -2029,7 +2029,7 @@
20292029
},
20302030
"editorMode": "code",
20312031
"exemplar": false,
2032-
"expr": "sum(rate(({__name__=~\"slurm_job_gpu_.*_seconds_total\", jobid=~\"$job_id\"}>0)[$__rate_interval:]))",
2032+
"expr": "sum(\r\n rate(\r\n label_replace(\r\n {__name__=~\"slurm_job_gpu_.*_seconds_total\", jobid=\"$job_id\"},\r\n \"metric\", \"$1\", \"__name__\", \"(.*)\"\r\n )[$__rate_interval:]\r\n )\r\n)",
20332033
"hide": false,
20342034
"instant": false,
20352035
"interval": "30s",
@@ -2643,4 +2643,4 @@
26432643
"uid": "dfe8e0f3-30ae-4c5c-b4e3-17cdf8e09fa5",
26442644
"version": 1,
26452645
"weekStart": ""
2646-
}
2646+
}

site/roles/trinity/init/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@
367367
- debug:
368368
msg: "trix_ctrl_local_ip: {{ trix_ctrl_local_ip|default('Undefined') }}"
369369
when: on_controller
370+
tags: always
370371

371372
- name: Collect number of controllers
372373
set_fact:

0 commit comments

Comments
 (0)