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

increment peer per topic count on graft messages #5212

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

jxs
Copy link
Member

@jxs jxs commented Feb 7, 2024

Issue Addressed

The topic_peers_counts metric currently goes negative on some cases, which realistically is a bug, this patch hopefully addresses that by also incrementing the topic_peer_counts when a GRAFT message is received and the topic is added to connected_peer which sent it

@jxs jxs force-pushed the fix-gossipsub-peer-topic-metrics branch from e283192 to 159b504 Compare February 7, 2024 15:59
@AgeManning AgeManning added the ready-for-merge This PR is ready to merge. label Feb 8, 2024
@AgeManning
Copy link
Member

@Mergifyio queue

Copy link

mergify bot commented Feb 8, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 675a231

mergify bot added a commit that referenced this pull request Feb 8, 2024
@AgeManning AgeManning added the v5.0.0 Q1 2024 label Feb 8, 2024
@mergify mergify bot merged commit 675a231 into sigp:unstable Feb 8, 2024
29 checks passed
danielramirezch pushed a commit to danielramirezch/lighthouse that referenced this pull request Feb 14, 2024
* increment peer per topic count on graft messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to merge. v5.0.0 Q1 2024
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants