CrawlerInstrumentor
Index
Methods
__init__
Initialize the instrumentor.
Parameters
optionalkeyword-onlyinstrument_classes: list[type] | None = None
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.
optionalkeyword-onlyrequest_handling_instrumentation: bool = True
Handpicked most interesting methods to instrument in the request handling pipeline.
Returns None
instrumentation_dependencies
Return a list of python packages with versions that will be instrumented.
Returns list[str]
Helper class for instrumenting crawlers with OpenTelemetry.