Replies: 2 comments 1 reply
-
No, this cannot be done at the moment, but it's also not that difficult to add this capability. Add an entry point for the span processor with the default being the "batch" and let the user configure the span processor of their choice to be used in auto instrumentation like custom exporter here |
Beta Was this translation helpful? Give feedback.
-
Thanks @srikanthccv for the confirmation, and the code sharing. If users don't use auto-instrumentation SDK, we can provide customized tracer provider and ask users to configure it using I'm wondering if this is discussed before whether to allow customers to wire a different tracer provider into auto-instrumentation. In Java auto-instrumentation, this feature is supported. |
Beta Was this translation helpful? Give feedback.
-
My request is very similar to the one asked in Java: Best way to add a custom span processor on top of auto-configuration, but this is in Python's version.
I have a custom span processor that adds additional attributes into spans based on the parent context. Is there any way to add it without user invoking
add_span_processor
in their codes?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions