-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add cgroup RSS queries #143
Conversation
- query: sum( (node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) and on (instance) label_replace(kube_node_role{role="worker"}, "instance", "$1", "node", "(.+)") ) | ||
metricName: memory-sum-workers | ||
instant: true | ||
captureStart: true |
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.
Adding this metric because it allows us to calculate the memory delta over the run, with start and end instant measurements. This can help us detect memory leaks over the course of a run.
cf973a8
to
aaccc5d
Compare
Rebased on latest main to remove merge commit, added commit sign-off, and corrected the minor formatting differences between the files for the same queries so the diff is cleaner. |
aaccc5d
to
3361b55
Compare
Removed a duplicate query. It's all good now. PTAL |
3361b55
to
80590e1
Compare
80590e1
to
38790d3
Compare
Signed-off-by: Andrew Collins <[email protected]>
38790d3
to
bbffbc4
Compare
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
Type of change
Description
Adding corresponding memory RSS queries for existing cgroup metrics.
Checklist before requesting a review