Merge "Add Alertmanger metric target(s)"
This commit is contained in:
commit
7cf30017ea
@ -146,6 +146,13 @@ scrape_configs:
|
||||
{% endif %}
|
||||
|
||||
{% if enable_prometheus_alertmanager | bool %}
|
||||
- job_name: alertmanager
|
||||
static_configs:
|
||||
- targets:
|
||||
{% for host in groups['prometheus-alertmanager'] %}
|
||||
- '{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ hostvars[host]['prometheus_alertmanager_port'] }}'
|
||||
{% endfor %}
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Add support for Alertmanager metrics scraping in Prometheus.
|
Loading…
x
Reference in New Issue
Block a user