mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-10-02 07:20:35 +00:00

## Motivation Support the latest OpenTelemetry specification ## Solution In order to support the latest spec, this patch makes the following breaking API changes: * Update `opentelemetry` to 0.11.x * Update `OpenTelemetrySpanExt::set_parent` to take a context by value as it is now stored and propagated. * Rename `PreSampledTracer::sampled_span_context` to `PreSampledTracer::sampled_context` as it now returns a full otel context Additionally the following doc and example changes: * Show w3c trace context propagator as recommendation in examples