diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-09-23 17:03:06 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-09-23 17:03:06 +0200 |
commit | 2e2087393521703bbe1394afc6c0dcc4943e2b35 (patch) | |
tree | 295d897b3f16dbb8dbdc20c17c7c4f103d680548 /roles/monitoring/prometheus/server/templates/jobs/openwrt.j2 | |
parent | use / as spereator for jobs formerly known as special (diff) |
rename prometheus job-snippets to jobs
Diffstat (limited to 'roles/monitoring/prometheus/server/templates/jobs/openwrt.j2')
-rw-r--r-- | roles/monitoring/prometheus/server/templates/jobs/openwrt.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/monitoring/prometheus/server/templates/jobs/openwrt.j2 b/roles/monitoring/prometheus/server/templates/jobs/openwrt.j2 new file mode 100644 index 00000000..e93f8be7 --- /dev/null +++ b/roles/monitoring/prometheus/server/templates/jobs/openwrt.j2 @@ -0,0 +1,5 @@ + - job_name: '{{ job }}' + scheme: http + file_sd_configs: + - files: + - "/etc/prometheus/targets/{{ job }}/*.yml" |