Skip to content

Commit

Permalink
Changing labels to group by (#1203)
Browse files Browse the repository at this point in the history
* rhacs_instance_id -> namespace: not all alerts have rhacs_instance_id
* add severity: don't want to group alerts with different severities together
  • Loading branch information
kylape authored Aug 14, 2023
1 parent af222bd commit 8a0aaf0
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ stringData:
repeat_interval: 12h
group_by:
- cluster_id
- severity
routes:
- receiver: managed-rhacs-deadmanssnitch
repeat_interval: 5m
Expand All @@ -21,9 +22,10 @@ stringData:
observability: managed-rhacs
- receiver: managed-rhacs-pagerduty
group_by:
- rhacs_instance_id
- namespace
- severity
matchers:
- "rhacs_instance_id =~ \".*\""
- "namespace =~ \"rhacs-.*\""
receivers:
- name: managed-rhacs-pagerduty
pagerduty_configs:
Expand Down

0 comments on commit 8a0aaf0

Please sign in to comment.