Skip to content

Commit a86427e

Browse files
committed
Merge branch 'main' of github.com:open-telemetry/opentelemetry-java-instrumentation into openai-instrumentation
2 parents fd4734e + eb8720f commit a86427e

File tree

219 files changed

+5048
-2160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+5048
-2160
lines changed

.fossa.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,9 @@ targets:
775775
- type: gradle
776776
path: ./
777777
target: ':instrumentation:opentelemetry-api:opentelemetry-api-1.50:javaagent'
778+
- type: gradle
779+
path: ./
780+
target: ':instrumentation:opentelemetry-api:opentelemetry-api-1.52:javaagent'
778781
- type: gradle
779782
path: ./
780783
target: ':instrumentation:pekko:pekko-actor-1.0:javaagent'

benchmark-overhead/Dockerfile.petclinic

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:11.0.27_6-jdk@sha256:0296b46d1949f49054497db63a7630d4805ef587c2937eb23a582a2ffdde88da as app-build
1+
FROM eclipse-temurin:11.0.27_6-jdk@sha256:2fd4e5e0ba72f725016e757a5688ce14fda6a792da566fca62ef6ff73f50df35 as app-build
22

33
# This is the base image that will contain a built version of the spring-petclinic-rest
44
# application. Installing the dependencies and maven compiling the application is time

build.gradle.kts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,7 @@ tasks {
172172
val token = Base64.getEncoder().encodeToString("$username:$password".toByteArray())
173173

174174
var query = "?name=opentelemetry-java-instrumentation-$stableVersion"
175-
// uncomment to automatically publish the release
176-
// query += "&publishingType=AUTOMATIC"
175+
query += "&publishingType=AUTOMATIC"
177176

178177
doFirst {
179178
val bundle = generateReleaseBundle.get().outputs.files.singleFile
@@ -190,9 +189,6 @@ tasks {
190189
)
191190
.header("authorization", "Bearer $token")
192191
.build()
193-
httpClient.newCall(request).execute().use { response ->
194-
response.body.string()
195-
}
196192

197193
httpClient.newCall(request).execute().use { response ->
198194
if (response.code != 201) throw GradleException("Unexpected response status ${response.code} while uploading the release bundle")

conventions/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ dependencies {
5959
implementation("gradle.plugin.com.google.protobuf:protobuf-gradle-plugin:0.8.18")
6060
implementation("com.gradleup.shadow:shadow-gradle-plugin:8.3.8")
6161
implementation("org.apache.httpcomponents:httpclient:4.5.14")
62-
implementation("com.gradle.develocity:com.gradle.develocity.gradle.plugin:4.0.2")
62+
implementation("com.gradle.develocity:com.gradle.develocity.gradle.plugin:4.1")
6363
implementation("org.owasp:dependency-check-gradle:12.1.3")
6464
implementation("ru.vyarus:gradle-animalsniffer-plugin:2.0.1")
6565
implementation("org.spdx:spdx-gradle-plugin:0.9.0")

conventions/src/main/kotlin/otel.java-conventions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ abstract class NettyAlignmentRule : ComponentMetadataRule {
143143
with(ctx.details) {
144144
if (id.group == "io.netty" && id.name != "netty") {
145145
if (id.version.startsWith("4.1.")) {
146-
belongsTo("io.netty:netty-bom:4.1.122.Final", false)
146+
belongsTo("io.netty:netty-bom:4.1.123.Final", false)
147147
} else if (id.version.startsWith("4.0.")) {
148148
belongsTo("io.netty:netty-bom:4.0.56.Final", false)
149149
}

dependencyManagement/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
data class DependencySet(val group: String, val version: String, val modules: List<String>)
66

77
// this line is managed by .github/scripts/update-sdk-version.sh
8-
val otelSdkVersion = "1.51.0"
8+
val otelSdkVersion = "1.52.0"
99
val otelContribVersion = "1.47.0-alpha"
1010
val otelSdkAlphaVersion = otelSdkVersion.replaceFirst("(-SNAPSHOT)?$".toRegex(), "-alpha$1")
1111

@@ -38,7 +38,7 @@ val DEPENDENCY_BOMS = listOf(
3838

3939
val autoServiceVersion = "1.1.1"
4040
val autoValueVersion = "1.11.0"
41-
val errorProneVersion = "2.39.0"
41+
val errorProneVersion = "2.40.0"
4242
val byteBuddyVersion = "1.17.6"
4343
val asmVersion = "9.8"
4444
val jmhVersion = "1.37"
@@ -120,7 +120,7 @@ val DEPENDENCIES = listOf(
120120
"org.junit-pioneer:junit-pioneer:1.9.1",
121121
"org.objenesis:objenesis:3.4",
122122
"javax.validation:validation-api:2.0.1.Final",
123-
"org.snakeyaml:snakeyaml-engine:2.9",
123+
"org.snakeyaml:snakeyaml-engine:2.10",
124124
"org.elasticmq:elasticmq-rest-sqs_2.13:1.6.12"
125125
)
126126

0 commit comments

Comments
 (0)