-
Notifications
You must be signed in to change notification settings - Fork 6
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
Discovery metrics #21
Comments
Sounds good, we need to make sure that point-1 reports number of unique nodes found..not same ones (which has been noticed with current discv5). Wrt point-4: we can report this based on response from AutoNAT which is not exposed to status-go as of now. This is something that can be included in go-waku as an API or maybe we can access the libp2p API directly. @richard-ramos has better idea about this. |
There are different sources to know if your node is discoverable or not:
It's also worht taking into account that a node can change their reachability during runtime (like for example if you switch networks or if the circuit relay node goes offline). |
I think it would be good to also add:
|
An interesting idea brought up by @danisharora099 is that if a node has a bunch of discovered peers but cannot establish any connections, the telemetry service can also try connecting to those peers to determine if they are truly inaccessible, or if the node reporting the metrics is misconfigured, or if the peers are just not reachable from the node's environment |
Maybe telemetry service doesn't need to do this...rather just collect data from various nodes that report connectivity status of a peer and record that information. i.e how many nodes were able to connect to it and how many failed. |
We have many safety checks like this to prevent from a node getting targetted |
Track ratio of discovered nodes to connected nodes |
When a connection fails, record what kind of connection it was. i.e. did a desktop node get a port from the router and advertise out of the box, or did it use hole-punching via circuit relay. Metrics should help answer the following questions:
|
The text was updated successfully, but these errors were encountered: