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

cgroups V2 metrics should report limits for the stats HTTP endpoint #64

Open
fearful-symmetry opened this issue Nov 17, 2022 · 1 comment
Assignees
Labels
8.7-candidate Team:Elastic-Agent Label for the Agent team

Comments

@fearful-symmetry
Copy link
Contributor

Filed with the help of @miltonhultgren and @axw

Right now, cgroups V1 metrics will report limit information for the memory controller. Under C2, none of the controllers report limits for cgroups, only metrics. If we want this info to appear in the /stats endpoint used by the beats, two things need to happen:

  • we need to update the cgv2 reporters to fetch the limit values, usually in .max and .high files, for the controllers
  • update the reporters in report.go, that are used to fetch data for the HTTP /stats endpoint, to actually report those values
@simitt
Copy link
Contributor

simitt commented Nov 17, 2022

To add some context - this issue was identified as the root cause for a bug in APM Server stack monitoring elastic/apm-server#8596.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.7-candidate Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

3 participants