Only show Gerrit instances in the instance dropdowns
A variable was used to select the Gerrit instance to observe in the
dashboards. Since the instance label is set for all targets that
prometheus scrapes, the variable would also contain e.g. the prometheus
instance.
Now only Gerrit instances are displayed by further filtering for a
metric specific for Gerrit.
Change-Id: I392b2ddf53a0ea49db25018dc5d37d269365812a
This commit is contained in:
parent
623332e4b3
commit
442bf6fb98
|
@ -638,14 +638,14 @@
|
|||
"value": ""
|
||||
},
|
||||
"datasource": "Prometheus",
|
||||
"definition": "label_values(instance)",
|
||||
"definition": "label_values(git_upload_pack_phase_writing_total, instance)",
|
||||
"hide": 0,
|
||||
"includeAll": false,
|
||||
"label": "Gerrit Instance",
|
||||
"multi": false,
|
||||
"name": "instance",
|
||||
"options": [],
|
||||
"query": "label_values(instance)",
|
||||
"query": "label_values(git_upload_pack_phase_writing_total, instance)",
|
||||
"refresh": 1,
|
||||
"regex": "",
|
||||
"skipUrlSync": false,
|
||||
|
@ -680,4 +680,4 @@
|
|||
"title": "Caches",
|
||||
"uid": "vHQVaGsWk",
|
||||
"version": 15
|
||||
}
|
||||
}
|
||||
|
|
|
@ -421,14 +421,14 @@
|
|||
"value": ""
|
||||
},
|
||||
"datasource": "Prometheus",
|
||||
"definition": "label_values(instance)",
|
||||
"definition": "label_values(git_upload_pack_phase_writing_total, instance)",
|
||||
"hide": 0,
|
||||
"includeAll": false,
|
||||
"label": "Gerrit Instance",
|
||||
"multi": false,
|
||||
"name": "instance",
|
||||
"options": [],
|
||||
"query": "label_values(instance)",
|
||||
"query": "label_values(git_upload_pack_phase_writing_total, instance)",
|
||||
"refresh": 1,
|
||||
"regex": "",
|
||||
"skipUrlSync": false,
|
||||
|
|
|
@ -1161,14 +1161,14 @@
|
|||
"value": ""
|
||||
},
|
||||
"datasource": "Prometheus",
|
||||
"definition": "label_values(instance)",
|
||||
"definition": "label_values(git_upload_pack_phase_writing_total, instance)",
|
||||
"hide": 0,
|
||||
"includeAll": false,
|
||||
"label": "Gerrit Instance",
|
||||
"multi": false,
|
||||
"name": "instance",
|
||||
"options": [],
|
||||
"query": "label_values(instance)",
|
||||
"query": "label_values(git_upload_pack_phase_writing_total, instance)",
|
||||
"refresh": 1,
|
||||
"regex": "",
|
||||
"skipUrlSync": false,
|
||||
|
|
|
@ -722,14 +722,14 @@
|
|||
"value": ""
|
||||
},
|
||||
"datasource": "Prometheus",
|
||||
"definition": "label_values(instance)",
|
||||
"definition": "label_values(git_upload_pack_phase_writing_total, instance)",
|
||||
"hide": 0,
|
||||
"includeAll": false,
|
||||
"label": "Gerrit Instance",
|
||||
"multi": false,
|
||||
"name": "instance",
|
||||
"options": [],
|
||||
"query": "label_values(instance)",
|
||||
"query": "label_values(git_upload_pack_phase_writing_total, instance)",
|
||||
"refresh": 1,
|
||||
"regex": "",
|
||||
"skipUrlSync": false,
|
||||
|
@ -764,4 +764,4 @@
|
|||
"title": "Process",
|
||||
"uid": "MeOVgCPWz",
|
||||
"version": 4
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1062,14 +1062,14 @@
|
|||
"value": ""
|
||||
},
|
||||
"datasource": "Prometheus",
|
||||
"definition": "label_values(instance)",
|
||||
"definition": "label_values(git_upload_pack_phase_writing_total, instance)",
|
||||
"hide": 0,
|
||||
"includeAll": false,
|
||||
"label": "Gerrit Instance",
|
||||
"multi": false,
|
||||
"name": "instance",
|
||||
"options": [],
|
||||
"query": "label_values(instance)",
|
||||
"query": "label_values(git_upload_pack_phase_writing_total, instance)",
|
||||
"refresh": 1,
|
||||
"regex": "",
|
||||
"skipUrlSync": false,
|
||||
|
@ -1104,4 +1104,4 @@
|
|||
"title": "Queues",
|
||||
"uid": "Zh_ncGsWk",
|
||||
"version": 5
|
||||
}
|
||||
}
|
||||
|
|
|
@ -207,14 +207,14 @@
|
|||
"value": ""
|
||||
},
|
||||
"datasource": "Prometheus",
|
||||
"definition": "label_values(instance)",
|
||||
"definition": "label_values(git_upload_pack_phase_writing_total, instance)",
|
||||
"hide": 0,
|
||||
"includeAll": false,
|
||||
"label": "Gerrit Instance",
|
||||
"multi": false,
|
||||
"name": "instance",
|
||||
"options": [],
|
||||
"query": "label_values(instance)",
|
||||
"query": "label_values(git_upload_pack_phase_writing_total, instance)",
|
||||
"refresh": 1,
|
||||
"regex": "",
|
||||
"skipUrlSync": false,
|
||||
|
|
Loading…
Reference in a new issue