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

eth blocks cache: add prometheus metrics & replace blocks size by bytes size #1371

Merged
merged 2 commits into from
Mar 29, 2022

Conversation

librelois
Copy link
Collaborator

@librelois librelois commented Mar 28, 2022

What does it do?

It's a moonbeam companion for this PR: moonbeam-foundation/frontier#53

Add 6 prometheus metrics: 

  • frontier_eth_blocks_cache_size: size of the blocks cache in bytes
  • frontier_eth_blocks_cache_hits: hits of the blocks cache since the node starting
  • frontier_eth_blocks_cache_miss: miss of the blocks cache since the node starting
  • frontier_eth_statuses_cache_size: size of the statuses cache in bytes
  • frontier_eth_statuses_cache_hits: hits of the statuses cache since the node starting
  • frontier_eth_statuses_cache_miss: miss of the blocks statuses since the node starting

What important points reviewers should know?

Is there something left for follow-up PRs?

What alternative implementations were considered?

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

What value does it bring to the blockchain users?

@librelois librelois added B0-silent Changes should not be mentioned in any release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit labels Mar 28, 2022
@librelois librelois changed the title eth bloccs cache: add prometheus metrics & replace blocks size by bytes size eth blocks cache: add prometheus metrics & replace blocks size by bytes size Mar 28, 2022
@librelois librelois merged commit aedf8fe into master Mar 29, 2022
@librelois librelois deleted the elois-eth-cache-metrics branch March 29, 2022 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B0-silent Changes should not be mentioned in any release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants