From 913f4c2f50928e130ed821a5e6d8522acb0689da Mon Sep 17 00:00:00 2001 From: Zirko <64951262+QuantumEnigmaa@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:10:31 +0100 Subject: [PATCH] increase time to trigger promtailrequestserrors alert (#1453) * increase time to trigger promtailrequestserrors alert * changelog --- CHANGELOG.md | 4 ++++ .../platform/atlas/alerting-rules/promtail.rules.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 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