I would like to collect docker metrics on my local device from a docker engine which is running on a remote device.
Does anyone know how to use the [inputs.docker] plugin in telegraf with tcp endpoint?
What do I need to set up/configure on the docker daemon from the remote deivce and what do I need to set up/configure on the device from where I want to collect the data? Telegraf will be running in a docker container.
I have tried to set the ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2375 in the docker.service file for systemd but it just doesn’t work.