diff --git a/patchday.yml b/patchday.yml index 84b70ca..224d23f 100644 --- a/patchday.yml +++ b/patchday.yml @@ -21,8 +21,8 @@ - name: job value: .+ isRegex: true - silence_starts_at: '{{ silence_starts_at }}' - silence_ends_at: '{{ silence_ends_at }}' + startsAt: '{{ silence_starts_at }}' + endsAt: '{{ silence_ends_at }}' createdBy: patchday-automatism comment: patchday id: diff --git a/templates/prometheus/config/prometheus/alert.rules.j2 b/templates/prometheus/config/prometheus/alert.rules.j2 index 7bc7b0d..40a74e0 100644 --- a/templates/prometheus/config/prometheus/alert.rules.j2 +++ b/templates/prometheus/config/prometheus/alert.rules.j2 @@ -343,7 +343,7 @@ groups: - alert: elasticsearch health status not green expr: avg(elasticsearch_cluster_health_status{color="green"}) < 1 - for: 2m + for: 30m labels: severity: critical annotations: