Skip to content

Commit

Permalink
Set PromtailDown alert to not page out of business hours (#1068)
Browse files Browse the repository at this point in the history
* Set PromtailDown alert to not page out of business hours

---------

Co-authored-by: Herve Nicol <[email protected]>
  • Loading branch information
hervenicol and hervenicol authored Mar 12, 2024
1 parent 4cfe30a commit acee1bf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Set `PromtailDown` alert to not page out of business hours

## [3.0.2] - 2024-03-12

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ spec:
severity: page
team: "atlas"
topic: "observability"
cancel_if_outside_working_hours: "true"
cancel_if_cluster_status_creating: "true"
cancel_if_cluster_status_deleting: "true"
cancel_if_cluster_status_updating: "true"
Expand Down
3 changes: 3 additions & 0 deletions test/tests/providers/global/promtail.rules.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ tests:
exp_alerts:
- exp_labels:
area: empowerment
cancel_if_outside_working_hours: "true"
cancel_if_cluster_status_creating: "true"
cancel_if_cluster_status_deleting: "true"
cancel_if_cluster_status_updating: "true"
Expand All @@ -39,6 +40,7 @@ tests:
exp_alerts:
- exp_labels:
area: empowerment
cancel_if_outside_working_hours: "true"
cancel_if_cluster_status_creating: "true"
cancel_if_cluster_status_deleting: "true"
cancel_if_cluster_status_updating: "true"
Expand All @@ -56,6 +58,7 @@ tests:
exp_alerts:
- exp_labels:
area: empowerment
cancel_if_outside_working_hours: "true"
cancel_if_cluster_status_creating: "true"
cancel_if_cluster_status_deleting: "true"
cancel_if_cluster_status_updating: "true"
Expand Down

0 comments on commit acee1bf

Please sign in to comment.