diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-06-18 01:24:40 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-06-20 01:44:16 +0200 |
commit | 1e9d610bb87ce6f0cb1e5a8d44f09616f90273e2 (patch) | |
tree | 920a6fe55d573e56ebec67e853b3e1ecadded8ea /inventory | |
parent | make prometheus exporter list groupvars (diff) |
prometheus enable/disable targets for jobs
Diffstat (limited to 'inventory')
-rw-r--r-- | inventory/group_vars/promzone-chaos-at-home/vars.yml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/inventory/group_vars/promzone-chaos-at-home/vars.yml b/inventory/group_vars/promzone-chaos-at-home/vars.yml index 2345292b..078576f1 100644 --- a/inventory/group_vars/promzone-chaos-at-home/vars.yml +++ b/inventory/group_vars/promzone-chaos-at-home/vars.yml @@ -1,9 +1,13 @@ --- -promethues_server: ch-mon -promethues_zone_name: chaos@home - -prometheus_zone_targets: "{{ groups['promzone-chaos-at-home'] }}" +prometheus_scrape_endpoint: "{{ network.primary.address | ipaddr('address') }}:9999" prometheus_exporters_extra: [] prometheus_exporters_default: - node + +prometheus_server: ch-mon +prometheus_server_jobs: + - node + +prometheus_zone_name: chaos@home +prometheus_zone_targets: "{{ groups['promzone-chaos-at-home'] }}" |