Cortex Integration
Connect Cortex Metrics with ilert to route performance and observability alerts to on-call responders and escalate issues from Prometheus-based systems.
Last updated
Was this helpful?
Connect Cortex Metrics with ilert to route performance and observability alerts to on-call responders and escalate issues from Prometheus-based systems.
Last updated
Was this helpful?
Was this helpful?
receivers:
- name: "ilert"
webhook_configs:
- url: "<your alert source url here>"
send_resolved: truereceivers:
- name: "high-priority"
webhook_configs:
# high priority alert source url
- url: "<your high priority alert source url here>"
send_resolved: true
- name: "low-priority"
webhook_configs:
# low priority alert source url
- url: "<your low priority alert source url here>"
send_resolved: truegroups:
- name: cortex-critical
rules:
- alert: PrometheusDown
expr: sum(up{instance=~"prometheus.*"}) < 1
for: 15s
labels:
severity: critical
annotations:
summary: Prometheus is down alert
description: "Prometheus is down \n VALUE = {{ $value }}\n LABELS = {{ $labels }}"ruler:
alertmanager_url: http://alertmanager:9093
enable_api: true
ruler_storage:
backend: local
local:
directory: /etc/alertmanager