Imagine being able to wrap a protocol handler with some kind of "decorator" that would expose two versions of the protocol: the tracing and non-tracing version.
If two peers negotiate the tracing version, libp2p would automatically handle context propagation across boundaries (i.e. on reads/writes to stream) to facilitate distributed tracing across systems.
Imagine being able to wrap a protocol handler with some kind of "decorator" that would expose two versions of the protocol: the tracing and non-tracing version.
If two peers negotiate the tracing version, libp2p would automatically handle context propagation across boundaries (i.e. on reads/writes to stream) to facilitate distributed tracing across systems.