veza/config/alertmanager/alertmanager.yml

25 lines
708 B
YAML
Raw Normal View History

# Alertmanager config for Veza
# For Slack: override this file with your SLACK_WEBHOOK_URL in api_url
global:
resolve_timeout: 5m
route:
receiver: 'null'
group_by: ['alertname', 'job']
group_wait: 30s
group_interval: 5m
repeat_interval: 4h
receivers:
- name: 'slack-default'
slack_configs:
- api_url: '${SLACK_WEBHOOK_URL}'
channel: '#alerts'
send_resolved: true
title: '{{ .Status | toUpper }}: {{ .GroupLabels.alertname }}'
text: '{{ range .Alerts }}{{ .Annotations.description }}{{ end }}'
- name: 'null'
# Default: alerts received but not sent. Set route.receiver to slack-default
# and SLACK_WEBHOOK_URL env when Slack is configured.