services.vmalert.settings

vmalert configuration, passed via command line flags. Refer to https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/app/vmalert/README.md#configuration for details on supported values.

Type
attribute set of (boolean or signed integer or absolute path or string or list of (boolean or signed integer or absolute path or string))
Default
{ }
Example
{
  "datasource.disableKeepAlive" = true;
  "datasource.showURL" = false;
  "datasource.url" = "http://localhost:8428";
  rule = [
    "http://<some-server-addr>/path/to/rules"
    "dir/*.yaml"
  ];
}
Declared
<nixpkgs/nixos/modules/services/monitoring/vmalert.nix>