-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Greatly reduce the metrics vmstat returns by default. #874
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This covers our usage. We don't care about the other metrics indeed. 👍
In general, makes sense and LGTM but I'd also like to keep oom_kill. |
How exactly is that spelled? My kernel doesn't have it. |
Oh interesting. Here it is:
|
02fd314
to
ca5c563
Compare
2511883
to
bed25c4
Compare
@discordianfish What kernel version is that? I don't see |
Vmstat has over 100 fields, most of which are highly detailed debug information. Trim this down to only essential fields by default, configurable by flag. Signed-off-by: Brian Brazil <[email protected]>
bed25c4
to
fe2af31
Compare
4d2f9e3
to
f37f918
Compare
* Add oom_kill to fixture. * Update e2e outputs. * Put regexp in order. Signed-off-by: Ben Kochie <[email protected]>
👍 for oom_kill, looks very useful. We have it on our new 4.15 kernels. It seems to have been introduced after at least 4.10.15 (which is our second newest kernel version). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Vmstat has over 100 fields, most of which are highly
detailed debug information. Trim this down to only
essential fields by default, configurable by flag.
Signed-off-by: Brian Brazil [email protected]
@SuperQ This knocks 112 metrics or 14% off a node exporter on my laptop. I think bar a few keys ones, these are too detailed to keep given how many there are.