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 1 year 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

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

jimmygchen avatar Aug 21 '24 07:08 jimmygchen