libp2p / specs

Technical specifications for the libp2p networking stack
https://libp2p.io
1.56k stars 273 forks source link

Standard wire format to facilitate distributed tracing #247

Open raulk opened 4 years ago

raulk commented 4 years ago

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.