We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3381a58 commit 4ddad52Copy full SHA for 4ddad52
etc/kayobe/ansible/prometheus.yml.j2
@@ -273,9 +273,9 @@ scrape_configs:
273
274
alerting:
275
alertmanagers:
276
- - static_configs:
277
- - targets:
+ - static_configs:
278
{% for host in groups["prometheus-alertmanager"] %}
+ - targets:
279
- '{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ hostvars[host]['prometheus_alertmanager_port'] }}'
280
{% if hostvars[host].prometheus_instance_label | default(false, true) %}
281
labels:
0 commit comments