Skip to content

Commit

Permalink
Merge pull request #6581 from sapcc/email-internal-alert
Browse files Browse the repository at this point in the history
adding critical alert for internal relay
  • Loading branch information
dhalimi1975 authored May 24, 2024
2 parents 5294bcf + 8cb9472 commit b2d0762
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ groups:
annotations:
description: sending emails with aws ses relay fails
summary: sending emails with aws ses relay fails
- alert: SendingEmailsWithINTFails
expr: sum(sum_over_time(cronus_event_mails_sent_success_provider_rate_perminute{provider="int"}[5m]) OR on() vector(0)) == 0
for: 15m
labels:
service: email
severity: critical
tier: os
playbook: docs/devops/alert/cronus/#send_email
kibana: "app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-5m,to:now))&_a=(columns:!(_source),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'logstash-*',key:kubernetes_labels_name,negate:!f,params:(query:cronus),type:phrase),query:(match_phrase:(kubernetes_labels_name:cronus)))),index:'logstash-*',interval:auto,query:(language:kuery,query:'%22email%20delivery%20result%20%231:%20%5C%22int%5C%22%20250%22'),sort:!())"
support_group: email
annotations:
description: sending emails with internal relay fails
summary: sending emails with internal relay fails
- alert: SendingEmailsWithSESHighErrorRate
expr: (sum(sum_over_time(cronus_event_mails_sent_error_provider_rate_perminute{provider="aws"}[5m]) OR on() vector(0)) ) / (sum (sum_over_time(cronus_event_mails_sent_provider_rate_perminute{provider="aws"}[5m]) OR on() vector(0))) > 0.5
for: 15m
Expand Down

0 comments on commit b2d0762

Please sign in to comment.