Skip to content

Commit

Permalink
Merge pull request #1251 from stackhpc/caracal-prometheus-yml
Browse files Browse the repository at this point in the history
Update template for friendly network name to Caracal
  • Loading branch information
markgoddard authored Sep 4, 2024
2 parents 9827c84 + 4ddad52 commit f804579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/kayobe/ansible/prometheus.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ scrape_configs:

alerting:
alertmanagers:
- static_configs:
- targets:
- static_configs:
{% for host in groups["prometheus-alertmanager"] %}
- targets:
- '{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ hostvars[host]['prometheus_alertmanager_port'] }}'
{% if hostvars[host].prometheus_instance_label | default(false, true) %}
labels:
Expand Down

0 comments on commit f804579

Please sign in to comment.