Skip to content

refactor(kube-prom-stack): updated pagerduty routing #750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2024

Conversation

thiagoalmeidasa
Copy link
Owner

No description provided.

@github-actions github-actions bot added the area/kubernetes Changes made in the kubernetes directory label May 13, 2024
Copy link

--- kubernetes/apps/monitoring/kube-prometheus-stack/app Kustomization: flux-system/cluster-apps-kube-prometheus-stack HelmRelease: monitoring/kube-prometheus-stack

+++ kubernetes/apps/monitoring/kube-prometheus-stack/app Kustomization: flux-system/cluster-apps-kube-prometheus-stack HelmRelease: monitoring/kube-prometheus-stack

@@ -47,26 +47,29 @@

           webhook_configs:
           - url: ${HEALTHCHECKS_IO_URL}
         route:
           group_by:
           - alertname
           - job
-          group_interval: 5m
-          group_wait: 30s
-          receiver: 'null'
-          repeat_interval: 6h
+          group_interval: 10m
+          group_wait: 1m
+          receiver: pagerduty
+          repeat_interval: 12h
           routes:
           - group_interval: 5m
-            group_wait: 1m
+            group_wait: 0s
             match:
               alertname: Watchdog
             receiver: dead-mans-switch
-            repeat_interval: 6m
+            repeat_interval: 5m
+          - matchers:
+            - alertname =~ "InfoInhibitor"
+            receiver: 'null'
           - continue: true
             matchers:
-            - severity=~"critical|page"
+            - severity=~"warning|critical|page"
             receiver: pagerduty
       fullnameOverride: alertmanager
       ingress:
         annotations:
           hajimari.io/appName: Alert Manager
           hajimari.io/enable: 'true'

@thiagoalmeidasa thiagoalmeidasa merged commit 3d9e04b into main May 13, 2024
@thiagoalmeidasa thiagoalmeidasa deleted the update-pagerduty-rules branch May 13, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes Changes made in the kubernetes directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant