From ce0b4c58b78ce7384b971bdafd12b49f8826acdf Mon Sep 17 00:00:00 2001 From: Josef Prochazka Date: Wed, 28 Jan 2026 08:53:02 +0100 Subject: [PATCH] Update dosctring for `request_handling_instrumentation` argument of `CrawlerInstrumentor` --- src/crawlee/otel/crawler_instrumentor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crawlee/otel/crawler_instrumentor.py b/src/crawlee/otel/crawler_instrumentor.py index 9c12e9e17e..049fb8abb6 100644 --- a/src/crawlee/otel/crawler_instrumentor.py +++ b/src/crawlee/otel/crawler_instrumentor.py @@ -33,8 +33,8 @@ def __init__( Args: instrument_classes: List of classes to be instrumented - all their public methods and coroutines will be wrapped by generic instrumentation wrapper that will create spans for them. - request_handling_instrumentation: Handpicked most interesting methods to instrument in the request handling - pipeline. + request_handling_instrumentation: When `True`, the most relevant methods in the request handling pipeline + will be instrumented. When `False`, no request handling instrumentation will be done. """ self._tracer = get_tracer(__name__)