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 memory utilization metric in stack monitoring for integration server is not available on ESS #8596

Open
lahsivjar opened this issue Jul 13, 2022 · 5 comments

Comments

@lahsivjar
Copy link
Contributor

APM Server version (apm-server version): 8.3.*

Description of the problem including expected versus actual behavior: Stack monitoring should show memory utilization for integration server

Steps to reproduce:

  1. On ESS, open stack monitoring
  2. Open Integrations server overview
  3. Observe memory panel in Integrations Server - Resource Usage

Other details

The metric seems to plot beats_stats.metrics.beat.cgroup.memory.mem.usage.bytes but as per metricbeat documents the correct field should be either beats_stats.metrics.beat.cgroup.mem.usage.bytes or beat.stats.cgroup.memory.mem.usage.bytes

@lahsivjar lahsivjar added the bug label Jul 13, 2022
@simitt simitt added this to the 8.5 milestone Sep 6, 2022
@simitt
Copy link
Contributor

simitt commented Sep 6, 2022

This most certainly will require a fix in the Kibana code where the stack monitoring part lives.

@kruskall
Copy link
Member

I was looking into this but it seems the memory limit metric has the same issue:
The metric seems to plot beats_stats.metrics.beat.cgroup.memory.mem.limit.bytes but as per metricbeat documents the correct field should be either beats_stats.metrics.beat.cgroup.mem.limit.bytes or beat.stats.cgroup.memory.mem.limit.bytes.

I've opened a PR to address both.

@simitt
Copy link
Contributor

simitt commented Nov 17, 2022

With the help of @miltonhultgren and @fearful-symmetry the root cause was identified as cgroups V2 metric limits currently not being reported for the stats HTTP endpoint, see elastic/elastic-agent-system-metrics#64

@miltonhultgren
Copy link

It could be that Kibana also doesn't manage this correctly, I took a brief look at @kruskall 's PR and it shows some places where we don't read from the new Metricbeat format, but I wanted the data fixed before so I could verify that!

@simitt
Copy link
Contributor

simitt commented Nov 22, 2022

Moving this to the backlog until the underlying issues have been resolved.

@simitt simitt removed this from the 8.6 milestone Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants