more telegraf

This commit is contained in:
soraefir
2026-06-07 14:10:36 +02:00
parent dcf7b0dbe6
commit d147f53ef1
3 changed files with 54 additions and 8 deletions

View File

@@ -6,6 +6,11 @@ with lib; {
default = false;
};
interval = mkOption {
type = types.str;
default = "10s";
};
collectors = mkOption {
type = types.listOf (types.enum [
"cpu"
@@ -22,6 +27,8 @@ with lib; {
"mdstat"
"smart"
"docker"
"systemd_units"
"nix"
"ping"
"internet_speed"
"gpu"