Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgroup v2 formats #16473

Open
psnszsn opened this issue Feb 4, 2025 · 0 comments · May be fixed by #16474
Open

cgroup v2 formats #16473

psnszsn opened this issue Feb 4, 2025 · 0 comments · May be fixed by #16474
Labels
feature request Requests for new plugin and for new features to existing plugins

Comments

@psnszsn
Copy link

psnszsn commented Feb 4, 2025

Use Case

cgroup v2 is using some formats that are not supprted by the cgroup plugin.

One such example is the PSI format used by cpu.pressure, io.pressure and memory.pressure.

$ cat /sys/fs/cgroup/cpu.pressure
some avg10=0.00 avg60=0.09 avg300=0.08 total=379026006
full avg10=0.00 avg60=0.09 avg300=0.07 total=359617225

Another unsupported feature is the "max" value, used along with integer values:

$ cat /sys/fs/cgroup/memory.swap.high
max

Expected behavior

Successfully parse files exposed by cgroup v2.

Actual behavior

2025-02-04T09:37:27Z E! [inputs.cgroup::cgroup] Error in plugin: /sys/fs/cgroup/cpu.pressure: unknown file format
@psnszsn psnszsn added the feature request Requests for new plugin and for new features to existing plugins label Feb 4, 2025
@psnszsn psnszsn linked a pull request Feb 4, 2025 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant