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

Metrics: add P2P.nodes_connected #1517

Conversation

bchamagne
Copy link
Member

Add a metric to count the number of nodes currently connected.
This will be useful to detect splits or nodes that are not connected to anyone but still accept incoming connections (so they appear available, but in the end they cannot request anything outside of its shard resulting in wrong replies)

@bchamagne bchamagne added the feature New feature request label May 22, 2024
lib/archethic/p2p.ex Outdated Show resolved Hide resolved
@samuelmanzanera samuelmanzanera merged commit 31f8741 into archethic-foundation:develop Jun 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants