reth icon indicating copy to clipboard operation
reth copied to clipboard

Add metrics for BlockExecutorStats

Open ryanschneider opened this issue 1 year ago • 3 comments

Describe the feature

When trying to triage why my older computer is taking a long time in Execution Stage 4 I came across the BlockExecutorStats struct but could not find anywhere where those values are exposed when calculated as part of the ExecutionStage.

ExecutionStage already has a metrics_tx transmitter that emits MetricEvent::ExecutionStageGas metrics, so perhaps we could add a MetricEvent::ExecutionStageStats(BlockExecutorStats), though I think to access this we also need some sort of getter for the stats in pub trait BlockExecutor.

Additional context

image

ryanschneider avatar Mar 20 '24 14:03 ryanschneider

This issue is stale because it has been open for 21 days with no activity.

github-actions[bot] avatar Apr 11 '24 01:04 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Apr 19 '24 01:04 github-actions[bot]

This issue is stale because it has been open for 21 days with no activity.

github-actions[bot] avatar May 11 '24 01:05 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Jun 03 '24 01:06 github-actions[bot]