Skip to content

Commit

Permalink
Fix job and instance templates
Browse files Browse the repository at this point in the history
  • Loading branch information
7840vz authored Jan 12, 2023
1 parent 75c3fb5 commit 9777cdb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions grafana/idrac.json
Original file line number Diff line number Diff line change
Expand Up @@ -1865,14 +1865,14 @@
"type": "prometheus",
"uid": "${datasource}"
},
"definition": "label_values(idrac_machine,job)",
"definition": "label_values(idrac_machine_info,job)",
"hide": 0,
"includeAll": false,
"multi": true,
"name": "job",
"options": [],
"query": {
"query": "label_values(idrac_machine,job)",
"query": "label_values(idrac_machine_info,job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
Expand All @@ -1887,15 +1887,15 @@
"type": "prometheus",
"uid": "${datasource}"
},
"definition": "label_values(idrac_machine{job=\"$job\"}, instance)",
"definition": "label_values(idrac_machine_info{job=\"$job\"}, instance)",
"hide": 0,
"includeAll": false,
"label": "",
"multi": false,
"name": "instance",
"options": [],
"query": {
"query": "label_values(idrac_machine{job=\"$job\"}, instance)",
"query": "label_values(idrac_machine_info{job=\"$job\"}, instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
Expand Down
8 changes: 4 additions & 4 deletions grafana/idrac_overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -1298,14 +1298,14 @@
"type": "prometheus",
"uid": "${datasource}"
},
"definition": "label_values(idrac_machine,job)",
"definition": "label_values(idrac_machine_info,job)",
"hide": 0,
"includeAll": false,
"multi": true,
"name": "job",
"options": [],
"query": {
"query": "label_values(idrac_machine,job)",
"query": "label_values(idrac_machine_info,job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
Expand All @@ -1329,15 +1329,15 @@
"type": "prometheus",
"uid": "${datasource}"
},
"definition": "label_values(idrac_machine{job=\"$job\"}, instance)",
"definition": "label_values(idrac_machine_info{job=\"$job\"}, instance)",
"hide": 0,
"includeAll": true,
"label": "",
"multi": true,
"name": "instance",
"options": [],
"query": {
"query": "label_values(idrac_machine{job=\"$job\"}, instance)",
"query": "label_values(idrac_machine_info{job=\"$job\"}, instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
Expand Down

0 comments on commit 9777cdb

Please sign in to comment.