Skip to content

Commit b6595af

Browse files
committed
Merge branch 'main' into vertx-http-client5
2 parents 0e52df7 + 814fbef commit b6595af

File tree

23 files changed

+180
-38
lines changed

23 files changed

+180
-38
lines changed

benchmark-overhead-jmh/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ otelJava {
1313
}
1414

1515
dependencies {
16-
jmhImplementation("org.springframework.boot:spring-boot-starter-web:3.4.5")
16+
jmhImplementation("org.springframework.boot:spring-boot-starter-web:3.4.6")
1717
}
1818

1919
tasks {

dependencyManagement/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ val DEPENDENCIES = listOf(
108108
"io.opentelemetry.contrib:opentelemetry-gcp-resources:${otelContribVersion}",
109109
"io.opentelemetry.contrib:opentelemetry-cloudfoundry-resources:${otelContribVersion}",
110110
"io.opentelemetry.contrib:opentelemetry-baggage-processor:${otelContribVersion}",
111-
"io.opentelemetry.proto:opentelemetry-proto:1.5.0-alpha",
111+
"io.opentelemetry.proto:opentelemetry-proto:1.7.0-alpha",
112112
"io.opentelemetry:opentelemetry-extension-annotations:1.18.0", // deprecated, no longer part of bom
113113
"org.assertj:assertj-core:3.27.3",
114114
"org.awaitility:awaitility:4.3.0",

docs/contributing/running-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Java versions
44

5-
Open Telemetry Auto Instrumentation's minimal supported version is java 8.
5+
OpenTelemetry Auto Instrumentation's minimal supported version is java 8.
66
All jar files that we produce, unless noted otherwise, have bytecode
77
compatibility with the java 8 runtime. Our test suite is executed against
88
java 8, all LTS versions and the latest non-LTS version.

examples/distro/smoke-tests/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies {
77
testImplementation("com.fasterxml.jackson.core:jackson-databind:2.19.0")
88
testImplementation("com.google.protobuf:protobuf-java-util:4.31.0")
99
testImplementation("com.squareup.okhttp3:okhttp:4.12.0")
10-
testImplementation("io.opentelemetry.proto:opentelemetry-proto:1.5.0-alpha")
10+
testImplementation("io.opentelemetry.proto:opentelemetry-proto:1.7.0-alpha")
1111
testImplementation("io.opentelemetry:opentelemetry-api")
1212

1313
testImplementation("ch.qos.logback:logback-classic:1.5.18")

examples/extension/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ dependencies {
102102
testImplementation("com.google.protobuf:protobuf-java-util:4.31.0")
103103
testImplementation("com.squareup.okhttp3:okhttp:4.12.0")
104104
testImplementation("io.opentelemetry:opentelemetry-api")
105-
testImplementation("io.opentelemetry.proto:opentelemetry-proto:1.5.0-alpha")
105+
testImplementation("io.opentelemetry.proto:opentelemetry-proto:1.7.0-alpha")
106106

107107
testImplementation(enforcedPlatform("org.junit:junit-bom:5.12.2"))
108108
testImplementation("org.junit.jupiter:junit-jupiter-api")

instrumentation/apache-httpclient/apache-httpclient-5.2/library/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ public class ApacheHttpClientConfiguration {
4747
this.openTelemetry = openTelemetry;
4848
}
4949

50-
// creates a new http client builder for constructing http clients with open telemetry instrumentation
50+
// creates a new http client builder for constructing http clients with opentelemetry instrumentation
5151
public HttpClientBuilder createBuilder() {
5252
return ApacheHttpClientTelemetry.builder(openTelemetry).build().newHttpClientBuilder();
5353
}
5454

55-
// creates a new http client with open telemetry instrumentation
55+
// creates a new http client with opentelemetry instrumentation
5656
public HttpClient newHttpClient() {
5757
return ApacheHttpClientTelemetry.builder(openTelemetry).build().newHttpClient();
5858
}

instrumentation/jaxrs-client/jaxrs-client-2.0-testing/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ dependencies {
88
testLibrary("org.glassfish.jersey.core:jersey-client:2.0")
99
testLibrary("org.jboss.resteasy:resteasy-client:3.0.5.Final")
1010
// ^ This version has timeouts https://issues.redhat.com/browse/RESTEASY-975
11-
testLibrary("org.apache.cxf:cxf-rt-rs-client:3.1.0")
11+
// testLibrary("org.apache.cxf:cxf-rt-rs-client:3.1.0")
12+
testImplementation("org.apache.cxf:cxf-rt-rs-client:3.1.0")
1213
// Doesn't work with CXF 3.0.x because their context is wrong:
1314
// https://github.com/apache/cxf/commit/335c7bad2436f08d6d54180212df5a52157c9f21
1415

@@ -24,7 +25,8 @@ dependencies {
2425
latestDepTestLibrary("org.glassfish.jersey.inject:jersey-hk2:2.+")
2526
latestDepTestLibrary("org.glassfish.jersey.core:jersey-client:2.+")
2627
latestDepTestLibrary("org.jboss.resteasy:resteasy-client:3.0.26.Final")
27-
latestDepTestLibrary("org.apache.cxf:cxf-rt-rs-client:3.+")
28+
// latestDepTestLibrary("org.apache.cxf:cxf-rt-rs-client:3.+")
29+
latestDepTestLibrary("org.apache.cxf:cxf-rt-rs-client:3.6.6")
2830
}
2931

3032
// Requires old Guava. Can't use enforcedPlatform since predates BOM

instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-cxf-3.2/javaagent/build.gradle.kts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ muzzle {
1010
module.set("cxf-rt-frontend-jaxrs")
1111
versions.set("[3.2,4)")
1212
extraDependency("javax.servlet:javax.servlet-api:3.1.0")
13+
skip("3.6.7") // version is present in maven metadata, but pom and jar are missing
1314
}
1415
pass {
1516
group.set("org.apache.tomee")
@@ -26,7 +27,9 @@ dependencies {
2627

2728
compileOnly("javax.ws.rs:javax.ws.rs-api:2.0")
2829
compileOnly("javax.servlet:javax.servlet-api:3.1.0")
29-
library("org.apache.cxf:cxf-rt-frontend-jaxrs:3.2.0")
30+
// library("org.apache.cxf:cxf-rt-frontend-jaxrs:3.2.0")
31+
compileOnly("org.apache.cxf:cxf-rt-frontend-jaxrs:3.2.0")
32+
testImplementation("org.apache.cxf:cxf-rt-frontend-jaxrs:3.2.0")
3033

3134
implementation(project(":instrumentation:jaxrs:jaxrs-2.0:jaxrs-2.0-common:javaagent"))
3235

@@ -47,7 +50,8 @@ dependencies {
4750
testLibrary("org.apache.cxf:cxf-rt-ws-policy:3.2.0")
4851

4952
latestDepTestLibrary("org.eclipse.jetty:jetty-webapp:10.+") // documented limitation
50-
latestDepTestLibrary("org.apache.cxf:cxf-rt-frontend-jaxrs:3.+") // documented limitation
53+
latestDepTestLibrary("org.apache.cxf:cxf-rt-frontend-jaxrs:3.6.6") // documented limitation
54+
// latestDepTestLibrary("org.apache.cxf:cxf-rt-frontend-jaxrs:3.+") // documented limitation
5155
latestDepTestLibrary("org.apache.cxf:cxf-rt-transports-http-jetty:3.+") // documented limitation
5256
latestDepTestLibrary("org.apache.cxf:cxf-rt-ws-policy:3.+") // documented limitation
5357
}

instrumentation/jaxws/jaxws-cxf-3.0/javaagent/build.gradle.kts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,17 @@ muzzle {
1111
versions.set("[3.0.0,)")
1212
extraDependency("javax.servlet:javax.servlet-api:3.0.1")
1313
extraDependency("jakarta.servlet:jakarta.servlet-api:5.0.0")
14+
skip("3.6.7") // version is present in maven metadata, but pom and jar are missing
1415
}
1516
}
1617

1718
dependencies {
1819
bootstrap(project(":instrumentation:servlet:servlet-common:bootstrap"))
1920

20-
library("org.apache.cxf:cxf-rt-frontend-jaxws:3.0.0")
21+
// library("org.apache.cxf:cxf-rt-frontend-jaxws:3.0.0")
22+
compileOnly("org.apache.cxf:cxf-rt-frontend-jaxws:3.0.0")
23+
testImplementation("org.apache.cxf:cxf-rt-frontend-jaxws:3.0.0")
24+
2125
compileOnly("javax.servlet:javax.servlet-api:3.0.1")
2226
compileOnly("jakarta.servlet:jakarta.servlet-api:5.0.0")
2327
compileOnly(project(":muzzle"))
@@ -40,7 +44,8 @@ dependencies {
4044
testImplementation("javax.annotation:javax.annotation-api:1.2")
4145
testImplementation("com.sun.xml.messaging.saaj:saaj-impl:1.5.2")
4246

43-
latestDepTestLibrary("org.apache.cxf:cxf-rt-frontend-jaxws:3.+") // documented limitation
47+
latestDepTestLibrary("org.apache.cxf:cxf-rt-frontend-jaxws:3.6.6") // documented limitation
48+
// latestDepTestLibrary("org.apache.cxf:cxf-rt-frontend-jaxws:3.+") // documented limitation
4449
latestDepTestLibrary("org.apache.cxf:cxf-rt-transports-http:3.+") // documented limitation
4550
}
4651

instrumentation/jmx-metrics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ local [MBeans](https://docs.oracle.com/javase/tutorial/jmx/mbeans/index.html)
66
available within the instrumented application. The required MBeans and corresponding metrics can be described using a YAML configuration file. The individual metric configurations allow precise metric selection and identification.
77

88
The selected JMX metrics are reported using the Java Agent internal SDK. This means that they share the configuration and metric exporter with other metrics collected by the agent and are controlled by the same properties, for example `otel.metric.export.interval` or `otel.metrics.exporter`.
9-
The Open Telemetry resource description for the metrics reported by JMX Metric Insight will be the same as for other metrics exported by the SDK, while the instrumentation scope will be `io.opentelemetry.jmx`.
9+
The OpenTelemetry resource description for the metrics reported by JMX Metric Insight will be the same as for other metrics exported by the SDK, while the instrumentation scope will be `io.opentelemetry.jmx`.
1010

1111
To control the time interval between MBean detection attempts, one can use the `otel.jmx.discovery.delay` property, which defines the number of milliseconds to elapse between the first and the next detection cycle. JMX Metric Insight may dynamically adjust the time interval between further attempts, but it guarantees that the MBean discovery will run perpetually.
1212

0 commit comments

Comments
 (0)