From 8c452f877a3d20f8583fe030f7a496a2a72bfa91 Mon Sep 17 00:00:00 2001 From: Andrea Di Lisio Date: Wed, 27 Sep 2023 23:58:36 +0200 Subject: [PATCH] test fix --- 03.unauthorized_errors_increase/alerts.yaml | 6 +----- 05.slo_based_alerts/tests.yaml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/03.unauthorized_errors_increase/alerts.yaml b/03.unauthorized_errors_increase/alerts.yaml index 1fd2336..3ee616b 100644 --- a/03.unauthorized_errors_increase/alerts.yaml +++ b/03.unauthorized_errors_increase/alerts.yaml @@ -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 \ No newline at end of file + runbook_url: "https://your-oncall-docs.com/what-to-check-in-case-of-401-spikes" \ No newline at end of file diff --git a/05.slo_based_alerts/tests.yaml b/05.slo_based_alerts/tests.yaml index b5260bb..b02e83b 100644 --- a/05.slo_based_alerts/tests.yaml +++ b/05.slo_based_alerts/tests.yaml @@ -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" \ No newline at end of file