-
Notifications
You must be signed in to change notification settings - Fork 1
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
Increase VM disk and RAM size #42
Conversation
125c5fb
to
8b4adac
Compare
@@ -445,7 +445,7 @@ | |||
}, | |||
"editorMode": "code", | |||
"exemplar": false, | |||
"expr": "(node_memory_MemTotal_bytes{instance=\"gateway-vm:9100\"} - (node_memory_MemFree_bytes{instance=\"gateway-vm:9100\"} + node_memory_Cached_bytes{instance=\"gateway-vm:9100\"} + node_memory_Buffers_bytes{instance=\"gateway-vm:9100\"})) / node_memory_MemTotal_bytes{instance=\"gateway-vm:9100\"} * 100", | |||
"expr": "(node_memory_MemTotal_bytes{instance=\"gateway-vm:9100\"} - node_memory_MemAvailable_bytes{instance=\"gateway-vm:9100\"}) / node_memory_MemTotal_bytes{instance=\"gateway-vm:9100\"} * 100", |
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.
Replaced with MemAvailable
.
https://stackoverflow.com/a/67302066/11554998
Maybe MemAvailable
is more accurate?
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.
aha, so MemAvailable
is an estimation how much memory can be used without swapping. yes let's use MemAvailable
. :)
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. 200 might be overkill, but i think it's much safer :)
Description
This PR will
Before
After
(sorry forgot to match time range...
Removed min and max to use more the vertical space
Testing the PR
terraform apply
should deploy the same VM configs as written in IssueTakeaways
Found a good source for explaining node exporter metrics:
https://github.com/torvalds/linux/blob/master/Documentation/filesystems/proc.rst#meminfo