diff --git a/instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py b/instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py index a7d5fd2c64..7e51837d4d 100644 --- a/instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py @@ -886,7 +886,7 @@ async def otel_send(message: dict[str, Any]): context=set_span_in_context( server_span, trace.context_api.Context() ), - setter=setter, + setter=asgi_setter, ) content_length = asgi_getter.get(message, "content-length")