Skip to content

Which span processor is used when running the OpenTelemetry auto-instrumentation in Python? #3308

Answered by srikanthccv
alisamacos asked this question in Q&A
Discussion options

You must be logged in to vote

What is the default span processor used when running OpenTelemetry automatic instrumentation in Python

BatchSpanProcessor

def _init_tracing(
exporters: Dict[str, Type[SpanExporter]],
id_generator: IdGenerator = None,
sampler: Sampler = None,
resource: Resource = None,
):
provider = TracerProvider(
id_generator=id_generator,
sampler=sampler,
resource=resource,
)
set_tracer_provider(provider)
for _, exporter_class in exporters.items():
exporter_args = {}
provider.add_span_processor(
B…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alisamacos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants