-
Notifications
You must be signed in to change notification settings - Fork 1.2k
swarm/: Expose time to establish connection #2745
Copy link
Copy link
Closed
Labels
difficulty:moderategetting-startedIssues that can be tackled if you don't know the internals of libp2p very wellIssues that can be tackled if you don't know the internals of libp2p very wellhelp wantedpriority:importantThe changes needed are critical for libp2p, or are blocking another projectThe changes needed are critical for libp2p, or are blocking another project
Metadata
Metadata
Assignees
Labels
difficulty:moderategetting-startedIssues that can be tackled if you don't know the internals of libp2p very wellIssues that can be tackled if you don't know the internals of libp2p very wellhelp wantedpriority:importantThe changes needed are critical for libp2p, or are blocking another projectThe changes needed are critical for libp2p, or are blocking another project
Description
Expose the time it takes to establish an inbound or outbound connection.
Motivation
Needed for monitoring purposes, e.g. to be exposed to Prometheus via
libp2p-metrics. Especially relevant now that we are adding two more transport protocols and thus might want to compare them. #2622 #2289Open questions
Pool, thus not requiringTransportto be aware of it.Are you planning to do it yourself in a pull request?
Likely not.