From a37012385f0ccee91b9597d36f7f2c51abb685f2 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Thu, 26 Mar 2026 15:44:09 -0700 Subject: [PATCH] Tighten ArgoCDAppOutOfSync alert timing to clear faster after sync Reduced `for` from 30m to 5m and lookback window from 5m to 1m. The old values caused alerts to linger long after apps returned to Synced state. Co-Authored-By: Claude Opus 4.6 (1M context) --- argocd/manifests/grafana/alerting.yaml | 4 ++-- docs/changelog.d/+tune-argocd-outofsync-alert.infra.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 docs/changelog.d/+tune-argocd-outofsync-alert.infra.md diff --git a/argocd/manifests/grafana/alerting.yaml b/argocd/manifests/grafana/alerting.yaml index abc4c0f..69dbec5 100644 --- a/argocd/manifests/grafana/alerting.yaml +++ b/argocd/manifests/grafana/alerting.yaml @@ -323,7 +323,7 @@ groups: - uid: argocd-app-out-of-sync title: ArgoCDAppOutOfSync condition: C - for: 30m + for: 5m noDataState: OK execErrState: Alerting annotations: @@ -337,7 +337,7 @@ groups: - refId: A datasourceUid: prometheus relativeTimeRange: - from: 300 + from: 60 to: 0 model: expr: >- diff --git a/docs/changelog.d/+tune-argocd-outofsync-alert.infra.md b/docs/changelog.d/+tune-argocd-outofsync-alert.infra.md new file mode 100644 index 0000000..cac4b46 --- /dev/null +++ b/docs/changelog.d/+tune-argocd-outofsync-alert.infra.md @@ -0,0 +1 @@ +Tighten ArgoCDAppOutOfSync alert: reduce pending duration from 30m to 5m and lookback window from 5m to 1m so alerts clear faster after sync.