]>
Commit | Line | Data |
---|---|---|
e306af50 TL |
1 | # {{ cephadm_managed }} |
2 | # See https://prometheus.io/docs/alerting/configuration/ for documentation. | |
3 | ||
4 | global: | |
5 | resolve_timeout: 5m | |
6 | ||
7 | route: | |
f6b5b4d7 TL |
8 | receiver: 'default' |
9 | routes: | |
10 | - group_by: ['alertname'] | |
11 | group_wait: 10s | |
12 | group_interval: 10s | |
13 | repeat_interval: 1h | |
14 | receiver: 'ceph-dashboard' | |
15 | ||
e306af50 | 16 | receivers: |
f6b5b4d7 TL |
17 | - name: 'default' |
18 | webhook_configs: | |
19 | {% for url in default_webhook_urls %} | |
20 | - url: '{{ url }}' | |
21 | {% endfor %} | |
e306af50 TL |
22 | - name: 'ceph-dashboard' |
23 | webhook_configs: | |
24 | {% for url in dashboard_urls %} | |
a4b75251 | 25 | - url: '{{ url }}/api/prometheus_receiver' |
e306af50 | 26 | {% endfor %} |