mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-29 21:23:55 +08:00
docs: fix name of response hook signature in botocore instrumentation (#2512)
This commit is contained in:
@ -51,7 +51,7 @@ tracer_provider (TracerProvider) - an optional tracer provider
|
||||
request_hook (Callable) - a function with extra user-defined logic to be performed before performing the request
|
||||
this function signature is: def request_hook(span: Span, service_name: str, operation_name: str, api_params: dict) -> None
|
||||
response_hook (Callable) - a function with extra user-defined logic to be performed after performing the request
|
||||
this function signature is: def request_hook(span: Span, service_name: str, operation_name: str, result: dict) -> None
|
||||
this function signature is: def response_hook(span: Span, service_name: str, operation_name: str, result: dict) -> None
|
||||
|
||||
for example:
|
||||
|
||||
|
Reference in New Issue
Block a user