Skip to content
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 metrics to track received / sent bytes over rpc by method #6114

Open
jimmygchen opened this issue Jul 16, 2024 · 1 comment
Open

Add metrics to track received / sent bytes over rpc by method #6114

jimmygchen opened this issue Jul 16, 2024 · 1 comment

Comments

@jimmygchen
Copy link
Member

Description

It would be useful if we could track the inbound & outbound bandwidth usage by RPC methods.

Something like:

libp2p_rpc_requests_sent_bytes{type}
libp2p_rpc_response_received_bytes{type}

Note: we have an existing metrics libp2p_rpc_requests_total, but only tracking outgoing request count. Not sure if we have something that track the number of responses sent.

@jimmygchen
Copy link
Member Author

@KatyaRyazantseva is helping us with this as part of #6248.

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

No branches or pull requests

1 participant