-
Notifications
You must be signed in to change notification settings - Fork 614
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
[Grafana] Use container_memory_working_set_bytes
to report memory consumption
#3098
Conversation
@Santosh1176 can you post a print screen with the two graphs, how it looked before and after? Thanks |
@stefanprodan Apologies for not testing it before raising a PR. I shall keep that in mind for the future. When I applied |
It doesn’t work because the query is wrong, remove the |
Thank you @stefanprodan |
Looks good now! Thank you, can you please squash the commits into a single one, rebase with upstream and force push. |
@Santosh1176 i have tested your changes and while using |
@aryan9600 @stefanprodan Thanks for this valuable information, so for this has been a good learning experience. I had a doubt, as in other metric types I could not select pods to show their memory usage stats. Am I doing something wrong here? Or its the behavior specific to this metric? |
Since we are using
|
@Santosh1176 please rebase instead of merging, The 0540722 commit has nothing to do with this PR. |
Sorry! my bad, I accidentally added the unrelated commit while squashing with rebase, apologies. Can I now use the |
Please squash the commits into a single one and it's ready to go. Thanks! |
Done. Request review @stefanprodan @aryan9600 |
@Santosh1176 you need to force push the squashed commit as well |
container_memory_working_set_bytes
to report memory consumption
Signed-off-by: Santosh Kaluskar <dtshbl@gmail.com>
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
Thanks @Santosh1176 🏅
Thank you @stefanprodan @aryan9600 |
This PR could close #3086
Updating current metric of type
go_memstats_alloc_bytes_total
withcontainer_memory_working_set_bytes
to correctly report memory consumption.