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
Describe the bug AutoConfiguredOpenTelemetrySdk#isSdkEnabled() is mentioned in sdk-extensions/autoconfigure/README.md but that method doesn't exist (and AFAICT, it never existed in main).
What did you see instead?
It's only in the README.
$ git checkout main
Already on 'main'
Your branch is up to date with 'origin/main'.
$ git grep isSdkEnabled
sdk-extensions/autoconfigure/README.md:The OpenTelemetry SDK can be disabled entirely. If disabled, `AutoConfiguredOpenTelemetrySdk#isSdkEnabled()` will return `false`, and `GlobalOpenTelemetry` will be set to `OpenTelemetrySdk.builder().build()`.
$
What version and what artifacts are you using?
Artifacts: opentelemetry-sdk-extension-autoconfigure
Version: 1.16.0-alpha
How did you reference these artifacts?
Top-level pom.xml:
...
<properties>
...
<opentelemetryVersion>1.16.0</opentelemetryVersion>
...
</properties>
...
<dependencyManagement>
...
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-sdk-extension-autoconfigure</artifactId> <!-- not included in opentelemetry-bom -->
<version>${opentelemetryVersion}-alpha</version>
</dependency>
...
</dependencyManagement>
...
Ah good catch. That change in documentation came in this PR, and in one version there was a new isSdkEnabled() method added. It ultimately didn't make the cut but must have missed updating the docs accordingly.
Ah good catch. That change in documentation came in this PR, and in one version there was a new isSdkEnabled() method added. It ultimately didn't make the cut but must have missed updating the docs accordingly.
It would be nice to have something like isSdkEnabled(), but oh well. I can compare against OpenTelemetry.noop() and get close enough. Thanks for the fix.
Part of the decision to remove isSdkEnabled was that it we'd be making a fairly big ergonomic change to the API to accommodate an experiment env var. There currently an effort to get the env var included in the spec, which may be enough to justify changing the API.
Describe the bug
AutoConfiguredOpenTelemetrySdk#isSdkEnabled()
is mentioned in sdk-extensions/autoconfigure/README.md but that method doesn't exist (and AFAICT, it never existed inmain
).Steps to reproduce
git grep isSdkEnabled
What did you expect to see?
isSdkEnabled()
in theREADME.md
and in AutoConfiguredOpenTelemetrySdk.java.What did you see instead?
It's only in the README.
What version and what artifacts are you using?
Artifacts:
opentelemetry-sdk-extension-autoconfigure
Version:
1.16.0-alpha
How did you reference these artifacts?
Top-level pom.xml:
Tracing integration project pom.xml:
Environment
Additional context
I don't just see this with pre-built JAR from Maven, I also see it in the source in git.
The text was updated successfully, but these errors were encountered: