Allow telegraf to read docker sock
This commit is contained in:
parent
60b16dfcbf
commit
56b5e17d9c
1 changed files with 1 additions and 0 deletions
|
@ -22,4 +22,5 @@
|
||||||
|
|
||||||
# Add the docker telegraf listener
|
# Add the docker telegraf listener
|
||||||
services.telegraf.extraConfig.inputs.docker = {};
|
services.telegraf.extraConfig.inputs.docker = {};
|
||||||
|
users.users.telegraf.extraGroups = [ "docker" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue