Skip to content

Integrate metrics into live sync process #246

@meyer9

Description

@meyer9

Describe the feature

We should integrate existing metrics into the live sync process to record state root, execution, and write durations along with stats on number of trie nodes saved. Those are already defined here: https://github.com/op-rs/op-reth/pull/232/files#diff-ee18726937d024881c60a2f4e6afe3cdb3f610afd572913b21c476de9984313cR209

Example implementation (used for performance testing on a downstream branch): https://github.com/op-rs/op-reth/blob/meyer9/wip-mdbx-test/crates/exex/external-proofs/src/live.rs

Additional context

No response

Metadata

Metadata

Assignees

Labels

A-dbArea: databaseA-trieArea: Merkle Patricia TrieK-observabilityKind: observabilityM-good-first-issueMeta: good issue for first time contributorsW-historical-proofsWorkstream: historical-proofs

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions