How can we collect Host machine metrics while telegraf is running in docker container?

We are running telegraf container on a Linux machine.
On using [[input.cpu]] input plugin we are getting metrics of the docker container, how to get the Linux machine’s metrics ?

I think this item in the FAQ will help:

1 Like