summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/register/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-06-20 19:35:10 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-06-20 19:35:10 +0200
commit6cd14100e53002280286af048a7dca4e7127ebd3 (patch)
tree2893b2ae017eb0b84413f2693b8ca2b34eeeafd2 /roles/monitoring/prometheus/exporter/register/templates
parentgrafana: create new dashboards for revamped blackbox exporter metric labels (diff)
rename new blackbox-exporter metric label from svc_name to svc_instance
Diffstat (limited to 'roles/monitoring/prometheus/exporter/register/templates')
-rw-r--r--roles/monitoring/prometheus/exporter/register/templates/blackbox/probe.yml.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/monitoring/prometheus/exporter/register/templates/blackbox/probe.yml.j2 b/roles/monitoring/prometheus/exporter/register/templates/blackbox/probe.yml.j2
index 6319c1c5..fbbce7df 100644
--- a/roles/monitoring/prometheus/exporter/register/templates/blackbox/probe.yml.j2
+++ b/roles/monitoring/prometheus/exporter/register/templates/blackbox/probe.yml.j2
@@ -2,7 +2,7 @@
labels:
instance: '{{ target.instance }}'
svc_kind: '{{ target.config.svc_kind }}'
- svc_name: '{{ target.config.svc_name }}'
+ svc_instance: '{{ target.config.svc_instance }}'
__param_target: '{{ target.config.target }}'
__param_module: '{{ target.config.module }}'
{% if 'hostname' in target.config %}