opentelemetry-java
opentelemetry-java copied to clipboard
Why does the property `otel.experimental.sdk.enabled` contains `experimental`
Is the property otel.experimental.sdk.enabled on the whole an experimental? If yes, when will it be stable? If not, why use the word experimental?
Yes, it is experimental. It will be stabilized when we have a specification for it.
Thanks @jkwatson for the confirmation! I assume the property name will be updated to something like otel.sdk.enabled when you stabilize it, right?
Yes, the exact value will wait for the specification, but that's at least a reasonable guess.
@jkwatson How can we help to make this property stable? Any idea on the remaining work?
It needs to be added to the official spec. Not sure, but I think there's existing work ongoing.
@jkwatson I would probably find out by checking out the code base. I am wondering whether you know for sure whether there is a programmatic api to switch on/off OTel (basically does the same thing as the configuration property otel.experimental.sdk.enabled.
@jkwatson I would probably find out by checking out the code base. I am wondering whether you know for sure whether there is a programmatic api to switch on/off OTel (basically does the same thing as the configuration property
otel.experimental.sdk.enabled.
IIRC, this just turns off all the configuration of the SDK, so returns the equivalent of just creating an SDK instance from a new builder with nothing else called on the builder.
Will ask tomorrow on the Java meeting the best course of action.
At yesterday's OTel Java meeting, this issue was discussed and we agreed on creating an issue at the spec level, to make this property permanent. Let's see the comments it gets.
Resolved in #4810.