Skip to content

Commit

Permalink
Fix mute timing config
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Dec 3, 2024
1 parent d1f94ac commit 96b79c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions analytics/provisioning/alerting/mute_timings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ muteTimes:
# <int> organization ID, default = 1
- orgId: 1
# <string, required> name of the mute time interval, must be unique
name: "Mute all except Tuesdays at working US hours"
name: 'Mute all except Tuesdays at working US hours'
# <list> time intervals that should trigger the muting
# refer to https://prometheus.io/docs/alerting/latest/configuration/#time_interval-0
time_intervals:
Expand All @@ -17,4 +17,3 @@ muteTimes:
end_time: '23:59'
location: 'UTC'
weekdays: ['monday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday']

2 changes: 1 addition & 1 deletion analytics/provisioning/alerting/notification_policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ policies:
- alertname != DatasourceError
- receiver: discord_follow_up
mute_time_intervals:
- name: "Mute all except Tuesdays at working US hours"
- 'Mute all except Tuesdays at working US hours'
matchers:
- policy = follow_up_tuesdays
- alertname != DatasourceError
Expand Down

0 comments on commit 96b79c2

Please sign in to comment.