Skip to content

Commit 409a69e

Browse files
authored
Merge branch 'main' into remove-thread-name-from-metrics
2 parents ce515b0 + 9863e80 commit 409a69e

File tree

157 files changed

+3671
-2120
lines changed

Some content is hidden

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

157 files changed

+3671
-2120
lines changed

.github/workflows/publish-petclinic-benchmark-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121

22-
- uses: docker/setup-buildx-action@18ce135bb5112fa8ce4ed6c17ab05699d7f3a5e0 # v3.11.0
22+
- uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
2323

2424
- name: Login to GitHub container registry
2525
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0

.github/workflows/reusable-markdown-link-check.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,7 @@ jobs:
1414

1515
- uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
1616
with:
17-
# excluding links to pull requests and issues is done for performance
18-
# stackexchange link fails with 403 when accessed by lychee
1917
args: >
20-
--include-fragments
21-
--exclude "^https://github.com/open-telemetry/opentelemetry-java-instrumentation/(issues|pull)/\\d+$"
22-
--exclude "^http://code.google.com/p/concurrentlinkedhashmap$"
23-
--exclude "^https://softwareengineering.stackexchange.com/questions/29727"
24-
--max-retries 6
25-
--max-concurrency 4
18+
--config ./lychee.toml
2619
--github-token ${{ github.token }}
2720
.

.github/workflows/reusable-native-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ jobs:
2222
test-java-version:
2323
- 22
2424
- 23
25+
- 24
2526
steps:
2627
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2728
- id: read-java
2829
run: echo "version=$(cat .java-version)" >> "$GITHUB_OUTPUT"
29-
- uses: graalvm/setup-graalvm@01ed653ac833fe80569f1ef9f25585ba2811baab # v1.3.3.1
30+
- uses: graalvm/setup-graalvm@e1df20a713a4cc6ab5b0eb03f0e0dcdc0199b805 # v1.3.4.1
3031
with:
3132
version: "latest"
3233
java-version: ${{ matrix.test-java-version }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ hs_err_pid*
5858
replay_pid*
5959
.attach_pid*
6060
.telemetry*
61+
.lycheecache
6162

6263
!java-agent/benchmark/releases/*.jar
6364

CHANGELOG.md

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
## Unreleased
44

5+
## Version 2.17.0 (2025-06-20)
6+
57
### Migration notes
6-
- Tomcat metrics definitions provided by JMX Metric Insight subsystem
8+
9+
- Changes have been made to Tomcat metric definitions provided by JMX Metric Insight component
710
- metric `http.server.tomcat.errorCount` --> `tomcat.error.count`
811
- attribute: `name` --> `tomcat.request.processor.name`
912
- type: Gauge --> Counter
@@ -25,9 +28,52 @@
2528

2629
### 📈 Enhancements
2730

28-
- **JMX Metric Insight**: improved Tomcat metrics alignment to semconv (see Migration notes above for details) and added new Tomcat metrics: `tomcat.session.active.limit`, `tomcat.thread.limit`
31+
- JMX metrics: require explicit unit in yaml
32+
([#13796](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13796))
33+
- Remove deprecated methods from runtime-telemetry
34+
([#13885](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13885))
35+
- ClickHouse JDBC URL support
36+
([#13884](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13884))
37+
- Support Vert.x HTTP client version 5.0
38+
([#13903](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13903))
39+
- Add metric `jvm.file_descriptor.count` to jvm runtime experimental metrics
40+
([#13904](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13904))
41+
- Add support for Vert.x SQL client version 5.0
42+
([#13914](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13914))
43+
- JMX Metric Insights - improved Tomcat metrics alignment to semconv
44+
and added new Tomcat metrics `tomcat.session.active.limit` and `tomcat.thread.limit`
2945
([#13650](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13650))
46+
- Apply method instrumentation only to methods
47+
([#13949](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13949))
48+
- Apply external annotation instrumentation only to methods
49+
([#13948](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13948))
50+
- Log start of spring boot starter
51+
([#13882](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13882))
52+
- Update the OpenTelemetry SDK version to 1.51.0
53+
([#13992](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13992))
54+
- Capture finatra code function name
55+
([#13939](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13939))
56+
- AWS SDK v2 Secrets Manager auto-instrumentation support
57+
([#14001](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14001))
58+
- AWS SDK v1 Step Functions auto-instrumentation support
59+
([#14003](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14003))
60+
- Add auto-instrumentation support for AWS Step Functions SDK v2
61+
([#14028](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14028))
62+
- Skip propagating context into mysql jdbc cleanup thread
63+
([#14060](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14060))
64+
65+
### 🛠️ Bug fixes
3066

67+
- Fix instrumentation failure when constructor has @WithSpan annotation
68+
([#13929](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13929))
69+
- Fix structured concurrency support on jdk 25
70+
([#13936](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13936))
71+
- Fix Spring boot starter fails to load when an OpenTelemetry Bean is supplied
72+
([#13972](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13972))
73+
- Fix UCP instrumentation scope name
74+
([#14029](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14029))
75+
- Preload ThreadLocalRandom to avoid java.lang.ClassCircularityError: java/util/concurrent/ThreadLocalRandom
76+
([#14030](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14030))
3177

3278
## Version 2.16.0 (2025-05-15)
3379

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,14 @@ Debug logging negatively impacts the performance of your application.
129129

130130
See [CONTRIBUTING.md](CONTRIBUTING.md).
131131

132-
Approvers ([@open-telemetry/java-instrumentation-approvers](https://github.com/orgs/open-telemetry/teams/java-instrumentation-approvers)):
132+
### Maintainers
133+
134+
- [Lauri Tulmin](https://github.com/laurit), Splunk
135+
- [Trask Stalnaker](https://github.com/trask), Microsoft
136+
137+
For more information about the maintainer role, see the [community repository](https://github.com/open-telemetry/community/blob/main/community-membership.md#maintainer).
138+
139+
### Approvers
133140

134141
- [Gregor Zeitlinger](https://github.com/zeitlinger), Grafana
135142
- [Jack Berg](https://github.com/jack-berg), New Relic
@@ -141,24 +148,20 @@ Approvers ([@open-telemetry/java-instrumentation-approvers](https://github.com/o
141148
- [Steve Rao](https://github.com/steverao), Alibaba
142149
- [Sylvain Juge](https://github.com/SylvainJuge), Elastic
143150

144-
Maintainers ([@open-telemetry/java-instrumentation-maintainers](https://github.com/orgs/open-telemetry/teams/java-instrumentation-maintainers)):
145-
146-
- [Lauri Tulmin](https://github.com/laurit), Splunk
147-
- [Trask Stalnaker](https://github.com/trask), Microsoft
151+
For more information about the approver role, see the [community repository](https://github.com/open-telemetry/community/blob/main/community-membership.md#approver).
148152

149-
Emeritus maintainers:
153+
### Emeritus maintainers
150154

151155
- [Mateusz Rzeszutek](https://github.com/mateuszrzeszutek)
152156
- [Nikita Salnikov-Tarnovski](https://github.com/iNikem)
153157
- [Tyler Benson](https://github.com/tylerbenson)
154158

155-
Learn more about roles in
156-
the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md).
159+
For more information about the emeritus role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#emeritus-maintainerapprovertriager).
157160

158-
Thanks to all the people who have already contributed!
161+
### Thanks to all of our contributors!
159162

160163
<a href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/graphs/contributors">
161-
<img src="https://contributors-img.web.app/image?repo=open-telemetry/opentelemetry-java-instrumentation" />
164+
<img alt="Repo contributors" src="https://contrib.rocks/image?repo=open-telemetry/opentelemetry-java-instrumentation" />
162165
</a>
163166

164167
[config-agent]: https://opentelemetry.io/docs/zero-code/java/agent/configuration/

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.5.0")
16+
jmhImplementation("org.springframework.boot:spring-boot-starter-web:3.5.3")
1717
}
1818

1919
tasks {

benchmark-overhead/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ repositories {
1616
}
1717

1818
dependencies {
19-
implementation(enforcedPlatform("org.junit:junit-bom:5.13.1"))
19+
implementation(enforcedPlatform("org.junit:junit-bom:5.13.2"))
2020

21-
testImplementation("org.testcontainers:testcontainers:1.21.1")
22-
testImplementation("org.testcontainers:postgresql:1.21.1")
21+
testImplementation("org.testcontainers:testcontainers:1.21.2")
22+
testImplementation("org.testcontainers:postgresql:1.21.2")
2323
testImplementation("org.junit.jupiter:junit-jupiter-api")
2424
testImplementation("org.junit.jupiter:junit-jupiter-params")
2525
testImplementation("com.squareup.okhttp3:okhttp:4.12.0")

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ nexusPublishing {
3232
}
3333

3434
connectTimeout.set(Duration.ofMinutes(5))
35-
clientTimeout.set(Duration.ofMinutes(5))
35+
clientTimeout.set(Duration.ofMinutes(30))
3636

3737
transitionCheckOptions {
3838
// We have many artifacts so Maven Central takes a long time on its compliance checks. This sets

conventions/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies {
5757
implementation("com.diffplug.spotless:spotless-plugin-gradle:7.0.4")
5858
implementation("com.google.guava:guava:33.4.8-jre")
5959
implementation("gradle.plugin.com.google.protobuf:protobuf-gradle-plugin:0.8.18")
60-
implementation("com.gradleup.shadow:shadow-gradle-plugin:8.3.6")
60+
implementation("com.gradleup.shadow:shadow-gradle-plugin:8.3.7")
6161
implementation("org.apache.httpcomponents:httpclient:4.5.14")
6262
implementation("com.gradle.develocity:com.gradle.develocity.gradle.plugin:4.0.2")
6363
implementation("org.owasp:dependency-check-gradle:12.1.3")
@@ -71,7 +71,7 @@ dependencies {
7171
implementation("net.ltgt.gradle:gradle-nullaway-plugin:2.2.0")
7272
implementation("me.champeau.gradle:japicmp-gradle-plugin:0.4.6")
7373

74-
testImplementation(enforcedPlatform("org.junit:junit-bom:5.13.1"))
74+
testImplementation(enforcedPlatform("org.junit:junit-bom:5.13.2"))
7575
testImplementation("org.junit.jupiter:junit-jupiter-api")
7676
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
7777
testImplementation("org.assertj:assertj-core:3.27.3")

0 commit comments

Comments
 (0)