Skip to content

Commit 09f0d96

Browse files
committed
docs: add request_hook parameter description to RedisInstrumentor
1 parent cca571a commit 09f0d96

File tree

1 file changed

+1
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-redis/src/opentelemetry/instrumentation/redis

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ def _instrument(self, **kwargs: Any):
474474
Args:
475475
**kwargs: Optional arguments
476476
``tracer_provider``: a TracerProvider, defaults to global.
477+
``request_hook``: An optional callback that is invoked right after a span is created.
477478
``response_hook``: An optional callback which is invoked right before the span is finished processing a response.
478479
"""
479480
tracer_provider = kwargs.get("tracer_provider")

0 commit comments

Comments
 (0)