Skip to content

p2p: better dial/serve success metrics #31629

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

Merged
merged 1 commit into from
Apr 14, 2025

Conversation

cskiraly
Copy link
Contributor

Our previous success metrics gave success even if a peer disconnected right after connection. These metrics only count peers that stayed connected for at least 1 min.
The 1 min limit is an arbitrary choice. We do not use this for decision logic, only statistics.

Our previous success metrics gave success even if peer disconnected
right after connection. These metrics only count peers that stayed
connected for at least 1 min.
@cskiraly cskiraly requested review from fjl and zsfelfoldi as code owners April 13, 2025 13:19
@fjl fjl added this to the 1.15.9 milestone Apr 14, 2025
@fjl fjl merged commit ecd5c18 into ethereum:master Apr 14, 2025
3 of 4 checks passed
sivaratrisrinivas pushed a commit to sivaratrisrinivas/go-ethereum that referenced this pull request Apr 21, 2025
Our previous success metrics gave success even if a peer disconnected
right after connection. These metrics only count peers that stayed
connected for at least 1 min. The 1 min limit is an arbitrary choice. We do
not use this for decision logic, only statistics.
0g-wh pushed a commit to 0glabs/0g-geth that referenced this pull request Apr 22, 2025
Our previous success metrics gave success even if a peer disconnected
right after connection. These metrics only count peers that stayed
connected for at least 1 min. The 1 min limit is an arbitrary choice. We do
not use this for decision logic, only statistics.
0g-wh pushed a commit to 0g-wh/0g-geth that referenced this pull request May 8, 2025
Our previous success metrics gave success even if a peer disconnected
right after connection. These metrics only count peers that stayed
connected for at least 1 min. The 1 min limit is an arbitrary choice. We do
not use this for decision logic, only statistics.
Rampex1 pushed a commit to streamingfast/go-ethereum that referenced this pull request May 15, 2025
Our previous success metrics gave success even if a peer disconnected
right after connection. These metrics only count peers that stayed
connected for at least 1 min. The 1 min limit is an arbitrary choice. We do
not use this for decision logic, only statistics.
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.

3 participants