Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add metrics for in-memory state #10085

Merged
merged 2 commits into from
Aug 5, 2024
Merged

feat: add metrics for in-memory state #10085

merged 2 commits into from
Aug 5, 2024

Conversation

onbjerg
Copy link
Member

@onbjerg onbjerg commented Aug 5, 2024

Adds three new metrics to the blockchain_tree "namespace":

  • blockchain_tree.in_mem_state.earliest_block: The lowest block number in the state
  • blockchain_tree.in_mem_state.latest_block: The highest block number in the state
  • blockchain_tree.in_mem_state.num_blocks: The number of blocks in the state

Closes #9806

@onbjerg onbjerg added the C-enhancement New feature or request label Aug 5, 2024
@github-actions github-actions bot added the A-observability Related to tracing, metrics, logs and other observability tools label Aug 5, 2024
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.

nice, looks good to me

@mattsse mattsse added this pull request to the merge queue Aug 5, 2024
Merged via the queue into main with commit 6f8cba6 Aug 5, 2024
33 checks passed
@mattsse mattsse deleted the onbjerg/in-mem-metrics branch August 5, 2024 15:29
martinezjorge pushed a commit to martinezjorge/reth that referenced this pull request Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-observability Related to tracing, metrics, logs and other observability tools C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add metrics for inmemory canonical state
3 participants