-
-
Notifications
You must be signed in to change notification settings - Fork 82
Description
Is your feature request related to a problem?
I see that there is a new feature allowing to pass the TracingContext (span_id, trace_id, ..)
This is great but unfortunately it's lacking the connection between span from Sender ans span from Receiver!
In a distributed system, the trace_id should remain the same and we should have two span_id one being the parent of the other!
Describe the solution you'd like
A possible solution is to replicate the behavior of actix-web-tracing crate.
They extract the traceparent (ie concatenation of trace_id, span_id, flag, etc) and this traceparent is used to recreate a context in the other side. Finally the newly created span will be created with a parent context!
Describe alternatives you've considered
No response
Use case
Really useful to debug/plot all calls in a distributed system (with loki, tempo and grafana for instance)
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Relates to #664