-
Notifications
You must be signed in to change notification settings - Fork 230
Add new Ranch metrics #928
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
base: master
Are you sure you want to change the base?
Conversation
|
Please note, all connections is not max connections. |
| get_process_memory(ar_header_sync)}, | ||
| {ar_wallets_bytes_total, gauge, "ar_wallets process memory", | ||
| get_process_memory(ar_wallets)} | ||
| get_process_memory(ar_wallets)}, |
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.
I know this long predates your PR (and even predates my time on the project), But I think we can remove all of the message_queue_len and process memory metrics. Unles @humaite you use them for something?
We currently track process memory and message queue length for all processes (not just the ones mentioned here) via the ar_process_sampler module (when debug is on).
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.
No problem on my side. I'm currently also working on another tool to extract more information regarding all processes. I think we can remove it.
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.
I'll remove it. If we are updating this module, might as well.
JamesPiechota
left a comment
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! But @humaite is more familiar with this area of the code, so I'd wait for him to complete a review.
Metrics of number of Ranch active connections, all connection, and acceptor processes.