Update the OpenTelemetry SDK version to 1.37.0#11066
Conversation
| dependencies { | ||
| implementation(project(":instrumentation-api")) | ||
| implementation("io.opentelemetry:opentelemetry-extension-incubator") | ||
| implementation("io.opentelemetry:opentelemetry-api-incubator") |
There was a problem hiding this comment.
is this dependency needed at all?
There was a problem hiding this comment.
this module does not use EventLogger as far as I can tell
There was a problem hiding this comment.
right, mixed that up with another module - removed
| @Override | ||
| @CanIgnoreReturnValue | ||
| public Span addLink(SpanContext spanContext) { | ||
| agentSpan.addLink(Bridging.toAgent(spanContext)); | ||
| return this; | ||
| } | ||
|
|
||
| @Override | ||
| @CanIgnoreReturnValue | ||
| public Span addLink(SpanContext spanContext, Attributes attributes) { | ||
| agentSpan.addLink(Bridging.toAgent(spanContext), Bridging.toAgent(attributes)); | ||
| return this; | ||
| } | ||
|
|
There was a problem hiding this comment.
this deviates a bit from our usual approach of adding bridging for new methods in a subclass, but here it is much easier to do it the way it is so I think it is fine.
| configurations.configureEach { | ||
| if (name == "testRuntimeClasspath" || name == "testCompileClasspath") { | ||
| resolutionStrategy { | ||
| force("io.opentelemetry:opentelemetry-api:1.31.0") |
There was a problem hiding this comment.
@laurit should we add something similar in all of the opentelemetry-api-* javaagent modules?
| testing { | ||
| suites { | ||
| val incubatorTest by registering(JvmTestSuite::class) { | ||
| dependencies { | ||
| implementation("io.opentelemetry:opentelemetry-api-incubator:1.37.0-alpha") | ||
| } | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
it might be worth adding an oldAndNewIncubatorTest that pulls in both the -extension-incubator and -api-incubator artifacts
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com> Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com> Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
No description provided.