Skip to content

feat(engine): add new_payload_interval metric (start-to-start)#21159

Merged
mattsse merged 1 commit intomainfrom
feat/new-payload-interval-metric
Jan 17, 2026
Merged

feat(engine): add new_payload_interval metric (start-to-start)#21159
mattsse merged 1 commit intomainfrom
feat/new-payload-interval-metric

Conversation

@gakonst
Copy link
Member

@gakonst gakonst commented Jan 17, 2026

Follow-up to #21158.

Adds consensus_engine_beacon_new_payload_interval histogram to track total time between consecutive newPayload calls (start-to-start).

Metrics Summary

Metric Measures Use Case
new_payload_interval prev start → current start Total slot timing, should be ~12s on mainnet
time_between_new_payloads prev finish → current start Idle time waiting for next payload
new_payload_latency current start → current finish Processing time

Also renames internal field latest_atlatest_finish_at for clarity.

Adds a second histogram metric to track the total time between consecutive
newPayload calls (start-to-start), complementing time_between_new_payloads
which tracks finish-to-start (idle time).

- new_payload_interval: previous start → current start (total slot time)
- time_between_new_payloads: previous finish → current start (idle time)
@gakonst gakonst requested a review from mattsse as a code owner January 17, 2026 11:23
@gakonst gakonst added the A-engine Related to the engine implementation label Jan 17, 2026
@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker Jan 17, 2026
@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Jan 17, 2026
@mattsse mattsse added this pull request to the merge queue Jan 17, 2026
Merged via the queue into main with commit 1ea5744 Jan 17, 2026
45 checks passed
@mattsse mattsse deleted the feat/new-payload-interval-metric branch January 17, 2026 12:24
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Jan 17, 2026
Vui-Chee added a commit to okx/reth that referenced this pull request Jan 20, 2026
* tag 'v1.10.1': (49 commits)
  chore: bump version to 1.10.1 (paradigmxyz#21188)
  chore: rename extend_ref methods on sorted data structures (paradigmxyz#21043)
  fix(flashblocks): Add flashblock ws connection retry period (paradigmxyz#20510)
  chore(bench): add --disable-tx-gossip to benchmark node args (paradigmxyz#21171)
  refactor(stages): reuse history index cache buffers in `collect_history_indices` (paradigmxyz#21017)
  feat(download): resumable snapshot downloads with auto-retry (paradigmxyz#21161)
  ci: update to tempoxyz (paradigmxyz#21176)
  chore: apply spelling and typo fixes (paradigmxyz#21182)
  docs: document minimal storage mode in pruning FAQ (paradigmxyz#21025)
  chore(deps): weekly `cargo update` (paradigmxyz#21167)
  feat(execution-types): add receipts_iter helper (paradigmxyz#21162)
  revert: undo Chain crate, add LazyTrieData to trie-common (paradigmxyz#21155)
  feat(engine): add new_payload_interval metric (start-to-start) (paradigmxyz#21159)
  feat(engine): add time_between_new_payloads metric (paradigmxyz#21158)
  fix(storage-api): gate reth-chain dependency behind std feature
  perf(storage): batch trie updates across blocks in save_blocks (paradigmxyz#21142)
  refactor: use ExecutionOutcome::single instead of tuple From (paradigmxyz#21152)
  chore(chain-state): reorganize deferred_trie.rs impl blocks (paradigmxyz#21151)
  feat(primitives-traits): add try_recover_signers for parallel batch recovery (paradigmxyz#21103)
  perf: make Chain use DeferredTrieData (paradigmxyz#21137)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-engine Related to the engine implementation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants