diff --git a/analytics/provisioning/alerting/mute_timings.yaml b/analytics/provisioning/alerting/mute_timings.yaml index 99ba5c8..b75c64c 100644 --- a/analytics/provisioning/alerting/mute_timings.yaml +++ b/analytics/provisioning/alerting/mute_timings.yaml @@ -6,7 +6,7 @@ muteTimes: # organization ID, default = 1 - orgId: 1 # 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' # time intervals that should trigger the muting # refer to https://prometheus.io/docs/alerting/latest/configuration/#time_interval-0 time_intervals: @@ -17,4 +17,3 @@ muteTimes: end_time: '23:59' location: 'UTC' weekdays: ['monday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'] - \ No newline at end of file diff --git a/analytics/provisioning/alerting/notification_policy.yaml b/analytics/provisioning/alerting/notification_policy.yaml index c1374a8..8986716 100644 --- a/analytics/provisioning/alerting/notification_policy.yaml +++ b/analytics/provisioning/alerting/notification_policy.yaml @@ -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