docs: fix name of response hook signature in botocore instrumentation (#2512)

This commit is contained in:
Federico Bond
2024-05-14 03:24:24 +10:00
committed by GitHub
parent 46d2ce6ace
commit 9b7197d3b9

View File

@ -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 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 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 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: for example: