Skip to content

Commit 4f9ee01

Browse files
andremmxrmxlzchen
authored
Improve django instrumentation example (#3313)
Co-authored-by: Riccardo Magliocchetti <[email protected]> Co-authored-by: Leighton Chen <[email protected]>
1 parent 2d5a21a commit 4f9ee01

File tree

1 file changed

+2
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@
129129
130130
.. code:: python
131131
132+
from opentelemetry.instrumentation.django import DjangoInstrumentor
133+
132134
def request_hook(span, request):
133135
pass
134136

0 commit comments

Comments
 (0)