8000 Feature request: Report CPU usage of Collectd daemon · Issue #2846 · collectd/collectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Feature request: Report CPU usage of Collectd daemon #2846
Open
@rpv-tomsk

Description

@rpv-tomsk

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0