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

node_exporter 内存信息 存在过时 的 node_memory_MemAvailable_bytes key #72

Closed
Ansen opened this issue Nov 16, 2020 · 2 comments
Closed

Comments

@Ansen
Copy link

Ansen commented Nov 16, 2020

部分系统(我这只发现ubuntu 1404)已经不再支持 node_memory_MemAvailable_bytes 了,导致可用内存、已用内存、内存使用率不不显示

需要将 node_memory_MemAvailable_bytes 更新为 node_memory_MemFree_bytes

@Ansen
Copy link
Author

Ansen commented Nov 16, 2020

根据官方 issuse 支持 MemAvailable 参数的最低内核版本为 3.1.4,而Linux中,严格来说:可用内存= free + buff + cache, 但是 buff 是块设备的缓冲,所以建议将 MemAvailable 配置为 :free+cache,即:node_memory_MemFree_bytes + node_memory_Cached_bytes

@starsliao
Copy link
Owner

Duplicate of #18

@starsliao starsliao marked this as a duplicate of #18 Nov 22, 2020
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

No branches or pull requests

2 participants