From 8e3f52a0693794aced306015ff64f96d3a3d2297 Mon Sep 17 00:00:00 2001 From: QuantumEnigmaa Date: Mon, 9 Dec 2024 12:13:07 +0100 Subject: [PATCH 1/2] increase time to trigger promtailrequestserrors alert --- .../templates/platform/atlas/alerting-rules/promtail.rules.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/prometheus-rules/templates/platform/atlas/alerting-rules/promtail.rules.yml b/helm/prometheus-rules/templates/platform/atlas/alerting-rules/promtail.rules.yml index 422a9c9b..7069c486 100644 --- a/helm/prometheus-rules/templates/platform/atlas/alerting-rules/promtail.rules.yml +++ b/helm/prometheus-rules/templates/platform/atlas/alerting-rules/promtail.rules.yml @@ -38,7 +38,7 @@ spec: opsrecipe: promtail/ expr: | 100 * (sum(rate(promtail_request_duration_seconds_count{status_code!~"2.."}[5m])) by (cluster_id, installation, provider, pipeline, namespace, job, route, instance) / sum(rate(promtail_request_duration_seconds_count[5m])) by (cluster_id, installation, provider, pipeline, namespace, job, route, instance)) > 10 - for: 15m + for: 25m labels: area: platform severity: page From 3d3b0dcf5273daff5ec4132d78b9ab0d37692332 Mon Sep 17 00:00:00 2001 From: QuantumEnigmaa Date: Mon, 9 Dec 2024 12:15:34 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 782ec8aa..140d421a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Increase time to trigger `PromtailRequestsErrors` alert from 15 to 25m. + ## [4.28.0] - 2024-12-02 ### Added