summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/templates/targets/generic.yml.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-09-22 01:10:47 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-09-22 01:10:47 +0200
commitc4e17105ac2086033378b865c600d09d112cc6d3 (patch)
tree5b1573b23c42878e680b23ca07397283287e2f83 /roles/monitoring/prometheus/server/templates/targets/generic.yml.j2
parentprometheus: simplify job config (diff)
cosmetic changes
Diffstat (limited to 'roles/monitoring/prometheus/server/templates/targets/generic.yml.j2')
-rw-r--r--roles/monitoring/prometheus/server/templates/targets/generic.yml.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/monitoring/prometheus/server/templates/targets/generic.yml.j2 b/roles/monitoring/prometheus/server/templates/targets/generic.yml.j2
index 45af10c0..6591362b 100644
--- a/roles/monitoring/prometheus/server/templates/targets/generic.yml.j2
+++ b/roles/monitoring/prometheus/server/templates/targets/generic.yml.j2
@@ -1,3 +1,3 @@
-- targets: [ "{{ hostvars[target.instance].prometheus_scrape_endpoint }}" ]
+- targets: [ '{{ hostvars[target.instance].prometheus_scrape_endpoint }}' ]
labels:
- instance: "{{ target.instance }}"
+ instance: '{{ target.instance }}'