Limiting CPU and Memory Usage for Telegraf Agent

Hi Team,

I am using the Telegraf Agent to send system metrics from a server. I want to restrict the CPU and memory usage of the agent. Is there a way to configure this in the telegraf.conf file, or should it be managed solely at the OS level by the user ?

Thank you.

@mehul010 this has to be done at the OS level. There is no way to define this in the agent besides tuning the metric_buffer_limit.