Skip to content

Conversation

healthykim
Copy link
Contributor

This PR introduces two new metrics to monitor slow peers

  • One tracks the number of slow peers.
  • The other measures the time it takes for those peers to become "unfrozen"

These metrics help with monitoring and evaluating the need for future optimization
of the transaction fetcher and peer management, for example in peer scoring and prioritization.

Additionally, this PR moves the fetcher metrics into a separate file(eth/fetcher/metrics.go)

@healthykim healthykim changed the title eth/fetcher: add metrics to track slow peers eth/fetcher: add metrics for tracking slow peers Oct 19, 2025
Copy link
Member

@rjl493456442 rjl493456442 left a comment

Choose a reason for hiding this comment

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

LGTM

@rjl493456442 rjl493456442 added this to the 1.16.6 milestone Oct 20, 2025
@rjl493456442 rjl493456442 merged commit a9e6626 into ethereum:master Oct 20, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants