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

Add bad peer count #4537

Merged
merged 5 commits into from Jan 16, 2020
Merged

Add bad peer count #4537

merged 5 commits into from Jan 16, 2020

Conversation

mcdee
Copy link
Contributor

@mcdee mcdee commented Jan 14, 2020

This adds a counter for bad peers to prometheus metrics, and associated function to fetch same. Bad peers are a subset of disconnected peers, but it is useful to know how many peers there are that we don't want to talk to (bad fork version, bad response, etc.) as opposed to those we just aren't talking to (currently unreachable, reached max peers, etc.)

@codecov
Copy link

codecov bot commented Jan 14, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@ae86b82). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #4537   +/-   ##
=========================================
  Coverage          ?   43.28%           
=========================================
  Files             ?      193           
  Lines             ?    12947           
  Branches          ?        0           
=========================================
  Hits              ?     5604           
  Misses            ?     6395           
  Partials          ?      948

@rauljordan rauljordan added OK to merge Ready For Review A pull request ready for code review labels Jan 16, 2020
@prylabs-bulldozer prylabs-bulldozer bot merged commit 06bc80d into prysmaticlabs:master Jan 16, 2020
cryptomental pushed a commit to cryptomental/prysm that referenced this pull request Feb 24, 2020
* Add bad peer count
* Merge branch 'master' into badpeercount
* Merge branch 'master' into badpeercount
* Merge branch 'master' into badpeercount
* Merge branch 'master' into badpeercount
cryptomental pushed a commit to cryptomental/prysm that referenced this pull request Feb 28, 2020
* Add bad peer count
* Merge branch 'master' into badpeercount
* Merge branch 'master' into badpeercount
* Merge branch 'master' into badpeercount
* Merge branch 'master' into badpeercount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants