Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions terraform/alerting.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ resource "grafana_contact_point" "pagerduty_platform_infra" {
severity = "critical"
class = "grafana-alert"
component = "platform-infra"
summary = "{{ template \"default.message\" . }}"
# Concise one-liner for the PD incident title / Slack (#mzla-pages). The
# full description + runbook_url remain on the PD incident; we deliberately
# do NOT use the default.message template, which dumps all labels/annotations.
summary = "[{{ .CommonLabels.severity }}] {{ .CommonLabels.alertname }}: {{ .CommonAnnotations.summary }}"
# Resolved events are sent by default (disable_resolve_message defaults to
# false), so PD incidents auto-resolve when the alert clears.
}
Expand All @@ -46,7 +49,10 @@ resource "grafana_contact_point" "pagerduty_platform_infra_low" {
severity = "warning"
class = "grafana-alert"
component = "platform-infra"
summary = "{{ template \"default.message\" . }}"
# Concise one-liner for the PD incident title / Slack (#mzla-pages). The
# full description + runbook_url remain on the PD incident; we deliberately
# do NOT use the default.message template, which dumps all labels/annotations.
summary = "[{{ .CommonLabels.severity }}] {{ .CommonLabels.alertname }}: {{ .CommonAnnotations.summary }}"
}
}

Expand Down
Loading