Span info could be transferred over wire allowing to track results of individual traces across distributed network. It is very powerful tool for monitoring and debugging distributed system and we can utilise it in node. In order for this feature to work, tracing exporting should happen from both client and server and to be collected to the same jaeger.
Implementation idea
Add option to support distributed tracing on both client and server.
If option is enabled on client side:
client should append additional optional tracing info to the request
If option is enabled on server side :
server should extract tracing info
enrich it with local attributes (node type, peerID etc...)
Implementation ideas
Span info could be transferred over wire allowing to track results of individual traces across distributed network. It is very powerful tool for monitoring and debugging distributed system and we can utilise it in node. In order for this feature to work, tracing exporting should happen from both client and server and to be collected to the same jaeger.
Implementation idea
Add option to support distributed tracing on both client and server.