mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-28 20:52:57 +08:00
Fix typo in Django docs (#1562)
This commit is contained in:
@ -135,7 +135,7 @@ The hooks can be configured as follows:
|
||||
def response_hook(span, request, response):
|
||||
pass
|
||||
|
||||
DjangoInstrumentation().instrument(request_hook=request_hook, response_hook=response_hook)
|
||||
DjangoInstrumentor().instrument(request_hook=request_hook, response_hook=response_hook)
|
||||
|
||||
Django Request object: https://docs.djangoproject.com/en/3.1/ref/request-response/#httprequest-objects
|
||||
Django Response object: https://docs.djangoproject.com/en/3.1/ref/request-response/#httpresponse-objects
|
||||
|
Reference in New Issue
Block a user