lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

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

Open jimmygchen opened this issue 7 months ago • 1 comments

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 avatar Jul 16 '24 07:07 jimmygchen