Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dili91 committed Sep 27, 2023
1 parent 52df734 commit 8c452f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions 03.unauthorized_errors_increase/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,4 @@ groups:
description: >
There has been a spike of unauthorized requests in the last 2 minutes!
Current value is {{ $value | humanizePercentage }}.
runbook_url: "https://your-oncall-docs.com/what-to-check-in-case-of-401-spikes"

# Basically same as the above one, with an additional duration condition
- alert: UnauthorizedRequestsSpikeWithDuration
# Alert if there's a spike of 401 errors > 10% and it lasts for 5 minutes at least
runbook_url: "https://your-oncall-docs.com/what-to-check-in-case-of-401-spikes"
2 changes: 1 addition & 1 deletion 05.slo_based_alerts/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ tests:
summary: "payments-api has had a low internal availability for the operation CreatePayment in the last 2 minutes!"
description: >
payments-api has had a low internal availability for the operation CreatePayment in the last 2 minutes!
Current value is 76.93%.
Current value is 76.92%.
runbook_url: "https://your-oncall-docs.com/low-avaiability"

0 comments on commit 8c452f8

Please sign in to comment.