telegraf procstat plugin read/write counts and the num_fds Need permissions,How do I change telegraf permissions? Let it collect information about read/write counts and the num_fds.
@zhengheyi Can you clarify your question? What do you mean by How do I change telegraf permissions?
The only way I know how to do it is by running Telegraf as root, something I do not necessarily recommend. It might be possible to use a ptrace access mode check but I haven’t been able to get it working.