Alerting: Add file provisioning for mute timings (#52936)

This commit is contained in:
Jean-Philippe Quéméner
2022-08-01 14:19:33 -04:00
committed by GitHub
parent 7b249d19b2
commit 3d39594d75
9 changed files with 226 additions and 9 deletions
@@ -0,0 +1,10 @@
apiVersion: 1
muteTimes:
- orgId: 1337
name: test
time_intervals:
- times:
- start_time: '06:00'
end_time: '23:59'
weekdays:
- monday
@@ -0,0 +1,11 @@
apiVersion: 1
muteTimes:
- name: test
time_intervals:
- times:
- start_time: '06:00'
end_time: '23:59'
weekdays: ['monday:wednesday','saturday', 'sunday']
months: ['1:3', 'may:august', 'december']
years: ['2020:2022', '2030']
days_of_month: ['1:5', '-3:-1']
@@ -0,0 +1,17 @@
apiVersion: 1
muteTimes:
- name: test
time_intervals:
- times:
- start_time: '06:00'
end_time: '23:59'
weekdays:
- monday
- orgId: 1337
name: test
time_intervals:
- times:
- start_time: '06:00'
end_time: '23:59'
weekdays:
- monday