Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: trace id did not match when propagating invalid context (#55)
## Motivation Fix following issues * #54 * #45 ## Solution * Revert https://github.com/tokio-rs/tracing-opentelemetry/pull/26/files * When an invalid(empty) Context is extracted from the propagator and passed to OpenTelemetrySpanExt::set_parent(), if none is set for trace_id, root and child trace id will not match * I can confirm that this change works in [reproduction](https://github.com/notheotherben/tracing-opentelemetry-traceid-repro) that @notheotherben created * add regression test case which propagate empty context
- Loading branch information