Skip to content

[inputs.mem] Add percpu memory statistic #17925

@pvlltvk

Description

@pvlltvk

Use Case

Hi guys!
What do you think about adding the percpu memory field for mem input? It's available in /proc/meminfo and can be extremely useful since some linux virtual machines can possible have some leakage related to it (link, link)
I personally noticed this issue and the only way to find you the root cause was the node-exporter since it supports this percpu memory usage metric

Expected behavior

We don't have this field in the mem input now.

Actual behavior

I believe that we can easily add an additional field to the mem plugin, I can create a PR if you are interested.

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequests for new plugin and for new features to existing plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions