You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Right now, to configure OpenTelemetry you either build one with OpenTelemetrySdkBuilder or use the auto-configuration one with OpenTelemetrySdkAutoConfiguration.
Describe the solution you'd like
It would be interesting if you could have something in between, where you would use the OpenTelemetrySdkBuilder combined with some of the private apis of the auto-configuration. The motivation is to be able to use all of the autoconfiguration features and configuration properties, but allow to further customize it for third-party libraries.
This could be achieved by turning io.opentelemetry.sdk.autoconfigure.TracerProviderConfiguration#configureTracerProvider into a public API and making it return the builder instead, so you could consume it. It may require exposing some other APIs as well like io.opentelemetry.sdk.autoconfigure.PropagatorConfiguration#configurePropagators.
The text was updated successfully, but these errors were encountered:
@radcortez We've added an auto configuration builder recently which is meant for this use case, a library that uses autoconfiguration but with full customization of the auto configuration. It's used in the maven extension for example
Is your feature request related to a problem? Please describe.
Right now, to configure
OpenTelemetry
you either build one withOpenTelemetrySdkBuilder
or use the auto-configuration one withOpenTelemetrySdkAutoConfiguration
.Describe the solution you'd like
It would be interesting if you could have something in between, where you would use the
OpenTelemetrySdkBuilder
combined with some of the private apis of the auto-configuration. The motivation is to be able to use all of the autoconfiguration features and configuration properties, but allow to further customize it for third-party libraries.This could be achieved by turning
io.opentelemetry.sdk.autoconfigure.TracerProviderConfiguration#configureTracerProvider
into a public API and making it return the builder instead, so you could consume it. It may require exposing some other APIs as well likeio.opentelemetry.sdk.autoconfigure.PropagatorConfiguration#configurePropagators
.The text was updated successfully, but these errors were encountered: