Skip to content

Commit

Permalink
Add outside_working_hours_inhibition back to agent shard alert
Browse files Browse the repository at this point in the history
Signed-off-by: QuentinBisson <[email protected]>
  • Loading branch information
QuentinBisson committed Sep 19, 2023
1 parent 413f305 commit c266f5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@ spec:
cancel_if_cluster_is_not_running_prometheus_agent: "true"
cancel_if_cluster_status_creating: "true"
cancel_if_cluster_status_deleting: "true"
cancel_if_outside_working_hours: "true"
{{- end }}
2 changes: 2 additions & 0 deletions test/tests/providers/global/prometheus-agent.rules.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ tests:
cancel_if_cluster_is_not_running_prometheus_agent: "true"
cancel_if_cluster_status_creating: "true"
cancel_if_cluster_status_deleting: "true"
cancel_if_outside_working_hours: "true"
exp_annotations:
description: "Prometheus agent is missing shards."
opsrecipe: "prometheus-agent-missing-shards/"
Expand All @@ -94,6 +95,7 @@ tests:
cancel_if_cluster_is_not_running_prometheus_agent: "true"
cancel_if_cluster_status_creating: "true"
cancel_if_cluster_status_deleting: "true"
cancel_if_outside_working_hours: "true"
exp_annotations:
description: "Prometheus agent is missing shards."
opsrecipe: "prometheus-agent-missing-shards/"
Expand Down

0 comments on commit c266f5d

Please sign in to comment.