-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the OpenTelemetry SDK version to 1.27.0 #8688
Update the OpenTelemetry SDK version to 1.27.0 #8688
Conversation
(I'm working on fixing) |
|
conventions/src/main/kotlin/io.opentelemetry.instrumentation.javaagent-testing.gradle.kts
Outdated
Show resolved
Hide resolved
23932a5
to
31132be
Compare
dc34276
to
e312233
Compare
...va/io/opentelemetry/instrumentation/spring/autoconfigure/OpenTelemetryAutoConfiguration.java
Show resolved
Hide resolved
...a/io/opentelemetry/instrumentation/api/instrumenter/messaging/MessagingAttributesGetter.java
Show resolved
Hide resolved
// global is needed for logging appenders | ||
GlobalOpenTelemetry.set(OpenTelemetrySdk.builder().setLoggerProvider(loggerProvider).build()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is my proposed compromise related to https://github.com/open-telemetry/opentelemetry-java/blob/main/docs/sdk-configuration.md#the-global-instance-of-the-sdk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, this looks a bit hacky -- at the same time, I don't think I have any strong opinion on how we should solve this problem. Let's merge it as it is, and discuss the global issue in the SIG meeting
// global is needed for logging appenders | ||
GlobalOpenTelemetry.set(OpenTelemetrySdk.builder().setLoggerProvider(loggerProvider).build()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, this looks a bit hacky -- at the same time, I don't think I have any strong opinion on how we should solve this problem. Let's merge it as it is, and discuss the global issue in the SIG meeting
Update the OpenTelemetry SDK version to
1.27.0
.