diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-09-23 16:50:24 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-09-23 16:50:24 +0200 |
commit | ef4432c51bacb5b92c03a42cb1ea7f9d837ec8b6 (patch) | |
tree | ffd0fc43be052f9c4b6848f2c7bccd3e0b1aa71f /roles/monitoring/prometheus/server/templates/targets/blackbox/https.yml.j2 | |
parent | move exporter_exporter configuration into canonical config dir (diff) |
use / as spereator for jobs formerly known as special
Diffstat (limited to 'roles/monitoring/prometheus/server/templates/targets/blackbox/https.yml.j2')
-rw-r--r-- | roles/monitoring/prometheus/server/templates/targets/blackbox/https.yml.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/monitoring/prometheus/server/templates/targets/blackbox/https.yml.j2 b/roles/monitoring/prometheus/server/templates/targets/blackbox/https.yml.j2 new file mode 100644 index 00000000..29c89590 --- /dev/null +++ b/roles/monitoring/prometheus/server/templates/targets/blackbox/https.yml.j2 @@ -0,0 +1,4 @@ +- targets: [ '{{ hostvars[target.config.exporter_hostname].prometheus_scrape_endpoint }}' ] + labels: + instance: '{{ target.instance }}' + __param_target: '{{ target.config.address }}' |