Skip to content

Commit b272252

Browse files
authored
Improve wsgi instrumenation example (#3577)
1 parent 591051f commit b272252

File tree

1 file changed

+1
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-wsgi/src/opentelemetry/instrumentation/wsgi

1 file changed

+1
-0
lines changed

instrumentation/opentelemetry-instrumentation-wsgi/src/opentelemetry/instrumentation/wsgi/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def GET(self):
9797
9898
.. code-block:: python
9999
100+
from opentelemetry.trace import Span
100101
from wsgiref.types import WSGIEnvironment, StartResponse
101102
from opentelemetry.instrumentation.wsgi import OpenTelemetryMiddleware
102103

0 commit comments

Comments
 (0)