Open
Description
Collectd should report its own CPU usage, and possible CPU usage of its children.
Functions probably should be used for this:
getrusage(RUSAGE_SELF, &self_ru);
getrusage(RUSAGE_CHILDREN, &childs_ru);
Currently Collectd has CollectInternalStats
option, enabled it will report write queue length
, cache size
and metrics dropped
metrics. It's an open question if CPU usage
metric should be enabled by another option or this one.
I will appreciate your opinions about this.
Related: #849