Replies: 4 comments 15 replies
-
I vote in favour. |
Beta Was this translation helpful? Give feedback.
-
I think the SPIs for the separate components (e.g. TracerProvider found by DefaultOpenTelemetry) make no sense at this point and should be removed, unless we plan to add substantial configurability via environment variables. I think if we remove the |
Beta Was this translation helpful? Give feedback.
-
It does seem like there is value in providing some sort of environment/system property based configuration by just depending on the SDK. Is SPI the right way to implement that, or is it ok to make people call a method in their main method, in addition to depending on the SDK module(s)? I tend to think that requiring people to call a method to auto-configure the SDK is fine for now, but I know I have a limited view of the world. @bogdandrutu you have defended SPI as a very important mechanism, so your thoughts here would be valuable. |
Beta Was this translation helpful? Give feedback.
-
It might be useful to write down the requirements that the SPI in the API is currently trying to fulfill, so here's my attempt:
Is there anything I missed here? |
Beta Was this translation helpful? Give feedback.
-
I wonder if we can remove the SPI for discovering telemetry components, at least for now. I think using
DefaultOpenTelemetry
is quite similar to usingOpenTelemetrySdkBuilder
right now.Do we need the SPI anymore? @Oberon00 I think you've been interested in the custom SDK configuration so wondering if you have any thoughts.
Beta Was this translation helpful? Give feedback.
All reactions