mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-28 13:57:13 +02:00
fix(grafana): scope hwmon joins to selected node
This commit is contained in:
+5
-5
@@ -14109,7 +14109,7 @@
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${DS_PROMETHEUS}"
|
"uid": "${DS_PROMETHEUS}"
|
||||||
},
|
},
|
||||||
"expr": "node_hwmon_temp_celsius{instance=\"$node\",job=\"$job\"} * on(chip) group_left(chip_name) node_hwmon_chip_names",
|
"expr": "node_hwmon_temp_celsius{instance=\"$node\",job=\"$job\"} * on(instance,job,chip) group_left(chip_name) node_hwmon_chip_names{instance=\"$node\",job=\"$job\"}",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"intervalFactor": 1,
|
"intervalFactor": 1,
|
||||||
@@ -14122,7 +14122,7 @@
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${DS_PROMETHEUS}"
|
"uid": "${DS_PROMETHEUS}"
|
||||||
},
|
},
|
||||||
"expr": "node_hwmon_temp_crit_alarm_celsius{instance=\"$node\",job=\"$job\"} * on(chip) group_left(chip_name) node_hwmon_chip_names",
|
"expr": "node_hwmon_temp_crit_alarm_celsius{instance=\"$node\",job=\"$job\"} * on(instance,job,chip) group_left(chip_name) node_hwmon_chip_names{instance=\"$node\",job=\"$job\"}",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"hide": true,
|
"hide": true,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
@@ -14136,7 +14136,7 @@
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${DS_PROMETHEUS}"
|
"uid": "${DS_PROMETHEUS}"
|
||||||
},
|
},
|
||||||
"expr": "node_hwmon_temp_crit_celsius{instance=\"$node\",job=\"$job\"} * on(chip) group_left(chip_name) node_hwmon_chip_names",
|
"expr": "node_hwmon_temp_crit_celsius{instance=\"$node\",job=\"$job\"} * on(instance,job,chip) group_left(chip_name) node_hwmon_chip_names{instance=\"$node\",job=\"$job\"}",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"intervalFactor": 1,
|
"intervalFactor": 1,
|
||||||
@@ -14149,7 +14149,7 @@
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${DS_PROMETHEUS}"
|
"uid": "${DS_PROMETHEUS}"
|
||||||
},
|
},
|
||||||
"expr": "node_hwmon_temp_crit_hyst_celsius{instance=\"$node\",job=\"$job\"} * on(chip) group_left(chip_name) node_hwmon_chip_names",
|
"expr": "node_hwmon_temp_crit_hyst_celsius{instance=\"$node\",job=\"$job\"} * on(instance,job,chip) group_left(chip_name) node_hwmon_chip_names{instance=\"$node\",job=\"$job\"}",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"hide": true,
|
"hide": true,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
@@ -14163,7 +14163,7 @@
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${DS_PROMETHEUS}"
|
"uid": "${DS_PROMETHEUS}"
|
||||||
},
|
},
|
||||||
"expr": "node_hwmon_temp_max_celsius{instance=\"$node\",job=\"$job\"} * on(chip) group_left(chip_name) node_hwmon_chip_names",
|
"expr": "node_hwmon_temp_max_celsius{instance=\"$node\",job=\"$job\"} * on(instance,job,chip) group_left(chip_name) node_hwmon_chip_names{instance=\"$node\",job=\"$job\"}",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"hide": true,
|
"hide": true,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user