reth icon indicating copy to clipboard operation
reth copied to clipboard

`eth` message type metrics

Open Rjected opened this issue 1 year ago • 0 comments

Describe the feature

Even if we don't handle a certain type of request, it would be interesting to see what kinds of requests we are receiving, and in what proportion (GetReceipts, GetBlockHeaders, ...). We should add metrics for this.

This would involve introducing a new metrics type with counts for each type of eth message, and then increment the counts here: https://github.com/paradigmxyz/reth/blob/081796b138fd00a6d0af2ad463123fdbe04765ab/crates/net/network/src/eth_requests.rs#L236-L258

Additional context

No response

Rjected avatar May 14 '24 07:05 Rjected