diff options
Diffstat (limited to 'lass')
-rw-r--r-- | lass/3modules/telegraf.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lass/3modules/telegraf.nix b/lass/3modules/telegraf.nix index 6ef775090..0b3be2d69 100644 --- a/lass/3modules/telegraf.nix +++ b/lass/3modules/telegraf.nix @@ -41,12 +41,16 @@ let '' ]; }; + interval = mkOption { + type = types.str; + default = "10s"; + }; config = mkOption { type = types.str; #TODO: find a good default default = '' [agent] - interval = "1s" + interval = "${cfg.interval}" [outputs] |