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

share/p2p/peers: invalid hash error reported as blacklisted peers #2829

Open
Wondertan opened this issue Oct 9, 2023 · 5 comments
Open

share/p2p/peers: invalid hash error reported as blacklisted peers #2829

Wondertan opened this issue Oct 9, 2023 · 5 comments
Assignees
Labels
area:metrics Related to measuring/collecting node metrics good first issue Good for newcomers

Comments

@Wondertan
Copy link
Member

Here we report peers being blacklisted, when in fact they are not because of this line

@Wondertan Wondertan added good first issue Good for newcomers area:metrics Related to measuring/collecting node metrics labels Oct 9, 2023
@Wondertan Wondertan self-assigned this Oct 9, 2023
@Wondertan
Copy link
Member Author

cc @walldiss

@walldiss
Copy link
Member

walldiss commented Oct 9, 2023

Metrics are indicating blacklisting events happen, even when real blacklisting is skipped. It is done for monitoring purposes, to allow safe investigation of blacklisting.

@Wondertan
Copy link
Member Author

It's confusing to see blacklisted peers without this feature being enabled.

@walldiss
Copy link
Member

Hm, so it is probably metric or dashboard naming issue. The metric is supposed shows amount of blacklisting events being triggered, rather then amount of actually blacklisted peers.

@walldiss
Copy link
Member

One suggestion for resolving this issue and #2702 would be to create subcomponent dedicated for blacklisting from all of our components. It will allow us to create metrics for amount of actual blacklisting events, amount of blacklisted peers and we also can create API to allow blacklist control (Get, Add, Delete etc.) Let me know if it sounds good, so I'll make a proper issue for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:metrics Related to measuring/collecting node metrics good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants