mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-28 12:43:39 +08:00
Improve django instrumentation example (#3313)
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Co-authored-by: Leighton Chen <lechen@microsoft.com>
This commit is contained in:

committed by
GitHub

parent
2d5a21a3da
commit
4f9ee01b5f
@ -129,6 +129,8 @@ The hooks can be configured as follows:
|
||||
|
||||
.. code:: python
|
||||
|
||||
from opentelemetry.instrumentation.django import DjangoInstrumentor
|
||||
|
||||
def request_hook(span, request):
|
||||
pass
|
||||
|
||||
|
Reference in New Issue
Block a user