Commit dcc2dd5
committed
Propagate opentelemetry spans across remote connections.
Adds a new `rpc_request` feature `span_propagation` and a newcrate
feature `use-tracing-opentelemetry`.When enalbed, the current span
context is extracted and serialized with the message,and deserialized in
`read_request_raw()` and saved in thread localstorage. The generated
`RemoteService` creates a new span based onthe message variant name, and
sets the new span's parent to theextracted context.1 parent 732a57f commit dcc2dd5
File tree
5 files changed
+730
-419
lines changed- irpc-derive/src
- irpc-iroh/src
- src
5 files changed
+730
-419
lines changed
0 commit comments