You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
opentelemetry-appender-tracing crate currently converts tracing events to OpenTelemetry LogRecords but ignores span context. We should include span attributes in the LogRecord attributes when events are emitted within an active span (tracing span).
Current behavior:
let span = info_span!("request", user_id = 123, endpoint = "/api/users");let _guard = span.enter();info!(status = 200,"Request completed");// LogRecord only contains: status = 200, message = "Request completed"
This is distinct from the tracing-opentelemetry crate which converts tracing spans to OTel spans. This issue is specifically about enriching log records with span context from tracing.