[][src]Function tracing_jaeger::current_dist_trace_ctx

pub fn current_dist_trace_ctx() -> Result<(TraceId, SpanId), TraceCtxError>

Retrieve the distributed trace context associated with the current span.

Returns the TraceId, if any, that the current span is associated with along with the SpanId belonging to the current span.

Specialized to the opentelemetry-specific SpanId and TraceId provided by this crate.