diff --git a/instrumentation/opentelemetry-instrumentation-wsgi/src/opentelemetry/instrumentation/wsgi/__init__.py b/instrumentation/opentelemetry-instrumentation-wsgi/src/opentelemetry/instrumentation/wsgi/__init__.py index f55b3915f5..b1ecdf8bc4 100644 --- a/instrumentation/opentelemetry-instrumentation-wsgi/src/opentelemetry/instrumentation/wsgi/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-wsgi/src/opentelemetry/instrumentation/wsgi/__init__.py @@ -97,6 +97,7 @@ def GET(self): .. code-block:: python + from opentelemetry.trace import Span from wsgiref.types import WSGIEnvironment, StartResponse from opentelemetry.instrumentation.wsgi import OpenTelemetryMiddleware