[[inputs.system]]
cpu usage <5%
cpu usage ~25% caused by telegraf
Investigating the situation with atop shows, that lsb_release is called on every collection interval (10s by default), firing up a python interpreter each time.
Reading the docs for input.system I ask myself, why it is actually calling lsb_release? input.system reads load, uptime, #cpus and #users, I don't get the point for running lsb_release?
I would be nice to have this removed or at least to add an option to be able to turn this off.
Workaround: uninstall lsb-release
Good catch, looks like it's from gopsutil, the library we are using to gather metrics. The only data we are using from that call, however, is the system uptime, which they have a more efficient means of gathering.
Thanks, that was quick!
Just to illustrate the effect on the Pi

Yikes! Once circle gets sorted, and assuming I remember, I'll get you a link to the new build for you to test.
Yes, this solved the issue.