mob next [ci-skip] [ci skip] [skip ci]
lastFile:modules/clan/prometheus/default.nix
This commit is contained in:
@@ -18,11 +18,18 @@
|
|||||||
default = "1m";
|
default = "1m";
|
||||||
description = "How often to scrape targets. Default is 1 minutes";
|
description = "How often to scrape targets. Default is 1 minutes";
|
||||||
};
|
};
|
||||||
extraRules = lib.mkOption {
|
extra_rules = lib.mkOption {
|
||||||
type = with lib.types; listOf attrs;
|
type = with lib.types; listOf attrs;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description = "Additional rules for Prometheus";
|
description = "Additional rules for Prometheus";
|
||||||
};
|
};
|
||||||
|
default_receiver = lib.mkOption {
|
||||||
|
type = with lib.types; attrs;
|
||||||
|
default = {
|
||||||
|
name = "default";
|
||||||
|
};
|
||||||
|
description = "Definition of a default receiver, default is doing nothing";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user