go-ethereum/eth/fetcher
Bosul Mun a9e66262af
eth/fetcher: add metrics for tracking slow peers (#32964)
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 i
n peer scoring and prioritization.

Additionally, this PR moves the fetcher metrics into a separate file, 
`eth/fetcher/metrics.go`.
2025-10-20 10:10:58 +08:00
..
metrics.go eth/fetcher: add metrics for tracking slow peers (#32964) 2025-10-20 10:10:58 +08:00
tx_fetcher.go eth/fetcher: add metrics for tracking slow peers (#32964) 2025-10-20 10:10:58 +08:00
tx_fetcher_test.go eth/fetcher: fix announcement drop logic (#32210) 2025-07-14 21:33:24 +08:00