reth icon indicating copy to clipboard operation
reth copied to clipboard

Add op-reth rpc metric for raw tx forwarding duration

Open mattsse opened this issue 6 months ago • 4 comments
trafficstars

Describe the feature

we currently don't measure how long it takes to forward a txs

we can do this by adding same latency metrics to:

https://github.com/paradigmxyz/reth/blob/7af3445deae746b0173538c4ad7b8985e8ddf712/crates/optimism/rpc/src/sequencer.rs#L148-L148

https://github.com/paradigmxyz/reth/blob/7af3445deae746b0173538c4ad7b8985e8ddf712/crates/optimism/txpool/src/supervisor/metrics.rs#L7-L12

and

https://github.com/paradigmxyz/reth/blob/7af3445deae746b0173538c4ad7b8985e8ddf712/crates/optimism/txpool/src/supervisor/client.rs#L162-L172

TODO

  • add metrics for sequencer forwarding, for raw and rawconditional

Additional context

No response

mattsse avatar Apr 22 '25 19:04 mattsse