Skip to content

Conversation

@khetzl
Copy link
Collaborator

@khetzl khetzl commented Dec 10, 2025

Metrics of number of Ranch active connections, all connection, and acceptor processes.

@khetzl
Copy link
Collaborator Author

khetzl commented Dec 10, 2025

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)},
Copy link
Collaborator

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).

Copy link
Collaborator

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.

Copy link
Collaborator Author

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.

Copy link
Collaborator

@JamesPiechota JamesPiechota left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants