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

fix: use correct name for CGroup memory limit metric #143833

Closed
wants to merge 1 commit into from

Conversation

kruskall
Copy link
Member

@kruskall kruskall commented Oct 24, 2022

Summary

It seems memory limit metrics is affected by the same issue of memory usage.
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.

Update field name and tests accordingly.

Related to elastic/apm-server#8596

Checklist

Delete any items that are not applicable to this PR.

Risk Matrix

Delete this section if it is not applicable to this PR.

For maintainers

It seems memory limit metrics is affected by the same issue of
memory usage.
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.

Update field name and tests accordingly.
@kruskall kruskall requested a review from a team as a code owner October 24, 2022 08:29
@kibana-ci
Copy link
Collaborator

kibana-ci commented Oct 24, 2022

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #37 / apis Monitoring common mappings for apm metrics beats_stats.metrics.beat.cgroup.mem.limit.bytes should exist in the mappings
  • [job] [logs] FTR Configs #37 / apis Monitoring common mappings for apm metrics beats_stats.metrics.beat.cgroup.mem.limit.bytes should exist in the mappings

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kruskall
Copy link
Member Author

Superseded by #143832

@kruskall kruskall closed this Oct 24, 2022
@kruskall kruskall deleted the fix/beats-mem-limit branch October 24, 2022 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants