Skip to content

Commit

Permalink
ROX-21739: PR Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ludydoo committed Feb 7, 2024
1 parent d736793 commit bb89cb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions resources/prometheus/prometheus-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ spec:
rules:
- alert: AWSSESReputationBounceRateTooHigh
expr: avg_over_time(aws_ses_reputation_bounce_rate_sum[1h]) > 0.05
for: 1s
labels:
severity: warning
annotations:
Expand All @@ -305,7 +304,6 @@ spec:
sop_url: "https://gitlab.cee.redhat.com/stackrox/acs-managed-service-runbooks/blob/master/sops/dp-040-aws-ses-violation.md"
- alert: AWSSESReputationComplaintRateTooHigh
expr: avg_over_time(aws_ses_reputation_complaint_rate_sum[1h]) > 0.01
for: 1s
labels:
severity: warning
annotations:
Expand All @@ -316,12 +314,11 @@ spec:
# cloudwatch is setup to collect aws_ses_send_sum in 2 minute intervals (120 seconds)
# and the max send rate is 14/s.
expr: (max_over_time(aws_ses_send_sum[1h]) / 120) > 12
for: 1s
labels:
severity: warning
annotations:
summary: 'AWS SES Send rate too high'
description: 'The SES send rate is {{ $value }} per second, which is dangerously approaching the maximum limit of 14 per second.'
description: 'The maximum send rate over the last hour is {{ $value }} messages/second, which is dangerously approaching the maximum limit of 14 per second.'
sop_url: "https://gitlab.cee.redhat.com/stackrox/acs-managed-service-runbooks/blob/master/sops/dp-040-aws-ses-violation.md"


Expand Down
2 changes: 1 addition & 1 deletion resources/prometheus/unit_tests/AWSSESQuota.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ tests:
severity: warning
exp_annotations:
summary: 'AWS SES Send rate too high'
description: 'The SES send rate is 14 per second, which is dangerously approaching the maximum limit of 14 per second.'
description: 'The maximum send rate over the last hour is 14 messages/second, which is dangerously approaching the maximum limit of 14 per second.'
sop_url: "https://gitlab.cee.redhat.com/stackrox/acs-managed-service-runbooks/blob/master/sops/dp-040-aws-ses-violation.md"

0 comments on commit bb89cb8

Please sign in to comment.