Skip to content

Commit 4ddad52

Browse files
committed
Update prometheus.yml.j2 to Caracal
1 parent 3381a58 commit 4ddad52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/kayobe/ansible/prometheus.yml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ scrape_configs:
273273

274274
alerting:
275275
alertmanagers:
276-
- static_configs:
277-
- targets:
276+
- static_configs:
278277
{% for host in groups["prometheus-alertmanager"] %}
278+
- targets:
279279
- '{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ hostvars[host]['prometheus_alertmanager_port'] }}'
280280
{% if hostvars[host].prometheus_instance_label | default(false, true) %}
281281
labels:

0 commit comments

Comments
 (0)