The otel middleware sets request.id on the span, but the reverse is not wired — access-log records do not carry trace_id/span_id. There is a manual escape hatch (logger Fields callback) but no built-in. Given we ship our own otel middleware, wire it and add an example.
The otel middleware sets request.id on the span, but the reverse is not wired — access-log records do not carry trace_id/span_id. There is a manual escape hatch (logger Fields callback) but no built-in. Given we ship our own otel middleware, wire it and add an example.