Fix TrueNAS CPU variable to use cpu_temperature metric
This commit is contained in:
@@ -5957,14 +5957,14 @@
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "ff1qkncht70n4c"
|
"uid": "ff1qkncht70n4c"
|
||||||
},
|
},
|
||||||
"definition": "label_values(cpu_usage{instance=\"$instance\", job=\"$job\"},cpu)",
|
"definition": "label_values(cpu_temperature{instance=\"$instance\", job=\"$job\"},cpu)",
|
||||||
"includeAll": true,
|
"includeAll": true,
|
||||||
"multi": true,
|
"multi": true,
|
||||||
"name": "cpu",
|
"name": "cpu",
|
||||||
"options": [],
|
"options": [],
|
||||||
"query": {
|
"query": {
|
||||||
"qryType": 1,
|
"qryType": 1,
|
||||||
"query": "label_values(cpu_usage{instance=\"$instance\", job=\"$job\"},cpu)",
|
"query": "label_values(cpu_temperature{instance=\"$instance\", job=\"$job\"},cpu)",
|
||||||
"refId": "PrometheusVariableQueryEditor-VariableQuery"
|
"refId": "PrometheusVariableQueryEditor-VariableQuery"
|
||||||
},
|
},
|
||||||
"refresh": 1,
|
"refresh": 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user