This commit is contained in:
albert 2024-03-14 10:35:04 +09:00
parent f570e87ec3
commit b22da1fcf2
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -24,6 +24,8 @@
];
# Add the docker telegraf listener
services.telegraf.extraConfig.inputs.docker = {};
services.telegraf.extraConfig.inputs.docker = {
endpoint = "unix:///sys/fs/cgroup/system.slice/podman.socket";
};
users.users.telegraf.extraGroups = [ "podman" ];
}