-
Notifications
You must be signed in to change notification settings - Fork 873
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.37.0 #11066
Changes from all commits
7abeaad
e9c21a1
3a61dfb
db307db
f814d99
7ede945
1839338
cacf625
0e04fdc
36ab463
331db7b
00a797c
e65a62e
007478d
e0002e2
42a7dee
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,22 +4,21 @@ plugins { | |
|
||
dependencies { | ||
compileOnly(project(":opentelemetry-api-shaded-for-instrumenting", configuration = "v1_31")) | ||
compileOnly("io.opentelemetry:opentelemetry-extension-incubator") | ||
compileOnly("io.opentelemetry:opentelemetry-api-incubator") | ||
|
||
implementation(project(":instrumentation:opentelemetry-api:opentelemetry-api-1.0:javaagent")) | ||
implementation(project(":instrumentation:opentelemetry-api:opentelemetry-api-1.4:javaagent")) | ||
implementation(project(":instrumentation:opentelemetry-api:opentelemetry-api-1.10:javaagent")) | ||
implementation(project(":instrumentation:opentelemetry-api:opentelemetry-api-1.15:javaagent")) | ||
implementation(project(":instrumentation:opentelemetry-api:opentelemetry-api-1.27:javaagent")) | ||
|
||
testImplementation("io.opentelemetry:opentelemetry-extension-incubator") | ||
testImplementation("io.opentelemetry:opentelemetry-extension-incubator:1.31.0-alpha") | ||
} | ||
|
||
configurations.configureEach { | ||
if (name == "testRuntimeClasspath" || name == "testCompileClasspath") { | ||
resolutionStrategy { | ||
force("io.opentelemetry:opentelemetry-api:1.31.0") | ||
Comment on lines
18
to
21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @laurit should we add something similar in all of the opentelemetry-api-* javaagent modules? |
||
force("io.opentelemetry:opentelemetry-extension-incubator:1.31.0-alpha") | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
plugins { | ||
id("otel.javaagent-instrumentation") | ||
} | ||
|
||
dependencies { | ||
compileOnly(project(":opentelemetry-api-shaded-for-instrumenting", configuration = "v1_37")) | ||
compileOnly("io.opentelemetry:opentelemetry-api-incubator") | ||
|
||
implementation(project(":instrumentation:opentelemetry-api:opentelemetry-api-1.0:javaagent")) | ||
implementation(project(":instrumentation:opentelemetry-api:opentelemetry-api-1.4:javaagent")) | ||
implementation(project(":instrumentation:opentelemetry-api:opentelemetry-api-1.10:javaagent")) | ||
implementation(project(":instrumentation:opentelemetry-api:opentelemetry-api-1.15:javaagent")) | ||
implementation(project(":instrumentation:opentelemetry-api:opentelemetry-api-1.27:javaagent")) | ||
implementation(project(":instrumentation:opentelemetry-api:opentelemetry-api-1.31:javaagent")) | ||
implementation(project(":instrumentation:opentelemetry-api:opentelemetry-api-1.32:javaagent")) | ||
} | ||
|
||
testing { | ||
suites { | ||
val incubatorTest by registering(JvmTestSuite::class) { | ||
dependencies { | ||
implementation("io.opentelemetry:opentelemetry-api-incubator:1.37.0-alpha") | ||
} | ||
} | ||
} | ||
} | ||
Comment on lines
+18
to
+26
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it might be worth adding an There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
tasks { | ||
check { | ||
dependsOn(testing.suites) | ||
} | ||
} |
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 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.