FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit e985a415 authored by Seunghun Lee's avatar Seunghun Lee Committed by Seunghun Lee
Browse files

Apply omitted prometheus template bug fix

The patch for prometheus.yml template bug
`LP#2076660 <https://bugs.launchpad.net/kolla-ansible/+bug/2076660>`_
was not applied to our template used for friendly network name.
This brings the fix to 2023.1 release.
parent fa3cc965
No related branches found
No related tags found
2 merge requests!539Sync arcus/2023.1-staging to arcus/2023.1-production,!535Sync upstream Antelope 2025-02-03
......@@ -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:
......
---
fixes:
- |
Fixed an issue with the ``prometheus.yml`` template which would break when
deploying alertmanager.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment