Grafana notification policies configuration in Nix. Can't be used with simultaneously. See https://grafana.com/docs/grafana/latest/administration/provisioning/#notification-policies for supported options.
Declarations
Type
null or (submodule)
Default
null
Example
{
apiVersion = 1;
policies = [{
orgId = 1;
receiver = "grafana-default-email";
group_by = [ "..." ];
matchers = [
"alertname = Watchdog"
"severity =~ \"warning|critical\""
];
mute_time_intervals = [
"abc"
];
group_wait = "30s";
group_interval = "5m";
repeat_interval = "4h";
}];
resetPolicies = [
1
];
}