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

metricbeat cgroup memory reporting isn't quite correct #6033

Closed
benzo-elastic opened this issue Jan 9, 2018 · 1 comment
Closed

metricbeat cgroup memory reporting isn't quite correct #6033

benzo-elastic opened this issue Jan 9, 2018 · 1 comment
Labels

Comments

@benzo-elastic
Copy link

It would appear the memsw/kmem reporting for cgroups isn't being reported correctly & after a discussion with @andrewkroh it seems to originate from
https://github.com/elastic/beats/blob/master/metricbeat/module/system/process/cgroup.go#L120
where it's not using the local data variable, so all mem/memsw/kmem reporting is just using memory.Mem counters.

andrewkroh added a commit to andrewkroh/beats that referenced this issue Jan 9, 2018
The mem values were being reported for the memsw, kmem, and kmem_tcp values.

Fixes elastic#6033
@andrewkroh
Copy link
Member

I have opened a PR to fix this at #6034.

exekias pushed a commit that referenced this issue Jan 10, 2018
The mem values were being reported for the memsw, kmem, and kmem_tcp values.

Fixes #6033
andrewkroh added a commit to andrewkroh/beats that referenced this issue Jan 10, 2018
The mem values were being reported for the memsw, kmem, and kmem_tcp values.

Fixes elastic#6033

(cherry picked from commit 49f6a19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants