MyNixOS website logo
option

services.grafana.provision.alerting.muteTimings.settings

Grafana mute timings configuration in Nix. Can't be used with simultaneously. See https://grafana.com/docs/grafana/latest/administration/provisioning/#mute-timings for supported options.

Declarations
Type
null or (submodule)
Default
null
Example
{
  apiVersion = 1;

  muteTimes = [{
    orgId = 1;
    name = "mti_1";
    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"
      ];
    }];
  }];

  deleteMuteTimes = [{
    orgId = 1;
    name = "mti_1";
  }];
}