-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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: add detailed memory usage for each instance #18679
Conversation
/run-monitor-test |
Visit the grafana server at: http://172.16.5.5:30112, it will last for 5 hours |
Codecov Report
@@ Coverage Diff @@
## master #18679 +/- ##
===========================================
Coverage 79.2151% 79.2151%
===========================================
Files 542 542
Lines 146039 146039
===========================================
Hits 115685 115685
Misses 21018 21018
Partials 9336 9336 |
/run-monitor-test |
Visit the grafana server at: http://172.16.5.5:30752, it will last for 5 hours |
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
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
/merge |
/run-all-tests |
@bobotu merge failed. |
/merge |
/run-all-tests |
@bobotu merge failed. |
/run-cherry-picker |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #18683 |
Signed-off-by: ti-srebot <[email protected]>
What problem does this PR solve?
We do not have a more detailed memory usage information. This PR adds dynamically generated panels for Go memory usage info in each instance.
alloc-from-os
This is the resident memory usage of the process from the operating system's view.
estimate-insue
This is the estimated size of all live objects. At the bottom of the stack, You can see visually how the actual memory used changes。
estimate-garbage
This is the estimated size of garbages will be collected later. Stacked on top of
estimate-insue
, In the diagram, its top position is equivalent toheap_inuse
.reversed-by-go
This is the memory that can actually be returned to the operating system, but is temporarily reserved by Go Runtime.
used-by-go
This is the off-heap memory used by Go Runtime to maintain internal data structures.
gc-threshold
When
heap_inuse
will reach this limit, GC will be triggered. Each red dot on this line means GC has already finished at least once during the metrics scrape interval.Release note