1 # {{ cephadm_managed }}
4 evaluation_interval: 10s
6 - /etc/prometheus/alerting/*
7 {% if alertmgr_targets %}
12 - targets: [{{ alertmgr_targets|join(', ') }}]
19 {% for mgr in mgr_scrape_list %}
26 {% for node in nodes %}
27 - targets: ['{{ node.url }}']
29 instance: '{{ node.hostname }}'
33 {% if haproxy_targets %}
36 {% for haproxy in haproxy_targets %}
37 - targets: [{{ haproxy.url }}]
39 instance: '{{ haproxy.service }}'
43 {% if ceph_exporter_targets %}
44 - job_name: 'ceph-exporter'
47 {% for ceph_exporter in ceph_exporter_targets %}
48 - targets: ['{{ ceph_exporter.url }}']
50 instance: '{{ ceph_exporter.hostname }}'