Files
grafana/pkg/services/ngalert/api/test-data/alertmanager_default_mutetimings-export.json
Yuri Tseretyan 7b919e3277 Alerting: MuteTimeService to support TimeInterval and MuteTimeInterval fields in Alertmanager config (#91500)
* update notification policy provisioing to consider time intervals
* change names of intervals to be in order
2024-08-13 11:37:21 -04:00

43 lines
763 B
JSON

{
"apiVersion": 1,
"muteTimes": [
{
"orgId": 1,
"name": "interval-1",
"time_intervals": []
},
{
"orgId": 1,
"name": "interval-2",
"time_intervals": [
{
"times": [
{
"start_time": "10:00",
"end_time": "12:00"
}
],
"weekdays": [
"monday",
"wednesday",
"friday"
],
"days_of_month": [
"1",
"14:16",
"20"
],
"months": [
"1:3",
"7",
"12"
],
"years": [
"2023:2025"
],
"location": "America/New_York"
}
]
}
]
}