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

Include hugepages metrics in metricbeat #6351

Closed
bczifra opened this issue Feb 12, 2018 · 0 comments · Fixed by #6436
Closed

Include hugepages metrics in metricbeat #6351

bczifra opened this issue Feb 12, 2018 · 0 comments · Fixed by #6436
Assignees

Comments

@bczifra
Copy link
Member

bczifra commented Feb 12, 2018

If metricbeat could capture hugepages metrics such as HugePages_Total, HugePages_Free,HugePages_Rsvd,HugePages_Surp,Hugepagesize, and Hugetlb it would provide a more granular view of memory usage on the system.

system.memory.used.pct includes memory that the system has allocated to huge pages.
e.g.

[ hostname ] # cat /proc/meminfo | egrep "Total|Free|Huge"
MemTotal:       132027020 kB
MemFree:        10274084 kB
…
HugePages_Total:   56274
HugePages_Free:    23506
…
Hugepagesize:       2048 kB

Metricbeat reports this system as having ~92% memory used based on 100-(MemFree/(MemTotal/100)) - however there’s actually 23506*2048kB available as huge pages, which is about 58% of huge pages free.

@bczifra bczifra changed the title Include hugepage smetrics in metricbeat Include hugepages metrics in metricbeat Feb 12, 2018
@ruflin ruflin added the module label Feb 15, 2018
@jsoriano jsoriano self-assigned this Feb 21, 2018
jsoriano added a commit to jsoriano/beats that referenced this issue Mar 26, 2018
exekias pushed a commit that referenced this issue Mar 26, 2018
* Update gosigar to v0.9.0

* Metricbeat: Support huge pages on Linux (#6351)
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.

3 participants