Skip to content

feat(engine): add time_between_forkchoice_updated metric#21227

Merged
Rjected merged 2 commits intoparadigmxyz:mainfrom
livehardd:time_between_forkchoice_updated
Jan 20, 2026
Merged

feat(engine): add time_between_forkchoice_updated metric#21227
Rjected merged 2 commits intoparadigmxyz:mainfrom
livehardd:time_between_forkchoice_updated

Conversation

@livehardd
Copy link
Contributor

Follow-up to #21159.

Noticed forkchoiceUpdated was missing the interval tracking that newPayload got. Added the same two histograms - time_between_forkchoice_updated for idle time and forkchoice_updated_interval for the full start-to-start interval.

Had to change update_response_metrics to &mut self to store the timestamps, same as NewPayloadStatusMetrics does.

Copy link
Member

@Rjected Rjected left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm but needs fmt

@livehardd livehardd requested a review from Rjected January 20, 2026 20:50
Copy link
Member

@Rjected Rjected left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Jan 20, 2026
@Rjected Rjected added this pull request to the merge queue Jan 20, 2026
Merged via the queue into paradigmxyz:main with commit d12752d Jan 20, 2026
45 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants