Skip to content

Commit 0884844

Browse files
authored
Merge branch 'main' into declarative-config-thread-details-provider2
2 parents 077e05b + 255c9e3 commit 0884844

File tree

123 files changed

+1342
-851
lines changed

Some content is hidden

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

123 files changed

+1342
-851
lines changed

.github/workflows/auto-license-report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
- id: create-patch
3838
name: Create patch file
3939
run: |
40+
git add -N --ignore-removal licenses
4041
git diff > patch
4142
if [ -s patch ]; then
4243
echo "exists=true" >> "$GITHUB_OUTPUT"

.github/workflows/build-common.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,13 +286,13 @@ jobs:
286286

287287
# vaadin 14 tests fail with node 18
288288
- name: Set up Node
289-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
289+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
290290
with:
291291
node-version: 16
292292

293293
# vaadin tests use pnpm
294294
- name: Cache pnpm modules
295-
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
295+
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
296296
with:
297297
path: ~/.pnpm-store
298298
key: ${{ runner.os }}-test-cache-pnpm-modules

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
cache-read-only: ${{ github.event_name == 'pull_request' }}
6464

6565
- name: Initialize CodeQL
66-
uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
66+
uses: github/codeql-action/init@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
6767
with:
6868
languages: ${{ matrix.language }}
6969
# using "linked" helps to keep up with the linked Kotlin support
@@ -85,6 +85,6 @@ jobs:
8585
--no-build-cache --no-daemon
8686
8787
- name: Perform CodeQL analysis
88-
uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
88+
uses: github/codeql-action/analyze@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
8989
with:
9090
category: "/language:${{matrix.language}}"
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Copilot Setup Steps"
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
copilot-setup-steps:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
14+
15+
- name: Free disk space
16+
run: .github/scripts/gha-free-disk-space.sh
17+
18+
- name: Set up JDK for running Gradle
19+
uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
20+
with:
21+
distribution: temurin
22+
java-version-file: .java-version
23+
24+
- name: Setup Gradle
25+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
26+
with:
27+
cache-read-only: true

.github/workflows/ossf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ jobs:
4343
# Upload the results to GitHub's code scanning dashboard (optional).
4444
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
4545
- name: "Upload to code-scanning"
46-
uses: github/codeql-action/upload-sarif@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
46+
uses: github/codeql-action/upload-sarif@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
4747
with:
4848
sarif_file: results.sarif

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
fetch-depth: 0 # needed for merge-base used in lint:links-in-modified-files
1616

17-
- uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1
17+
- uses: jdx/mise-action@c53b9236f0b3370f31520f8b142f141256d839c6 # v3.6.0
1818

1919
- name: Link check for pull requests
2020
if: github.event_name == 'pull_request'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1414

15-
- uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1
15+
- uses: jdx/mise-action@c53b9236f0b3370f31520f8b142f141256d839c6 # v3.6.0
1616

1717
- name: Run markdownlint
1818
run: |

.github/workflows/reusable-test-latest-deps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
4949
# vaadin tests use pnpm
5050
- name: Cache pnpm modules
51-
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
51+
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
5252
with:
5353
path: ~/.pnpm-store
5454
key: ${{ runner.os }}-test-latest-cache-pnpm-modules

CHANGELOG.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,105 @@
22

33
## Unreleased
44

5+
## Version 2.24.0 (2026-01-17)
6+
7+
### ⚠️ Breaking Changes
8+
9+
- Remove support for previously deprecated property
10+
`otel.instrumentation.logback-appender.experimental.capture-logstash-attributes`
11+
([#15722](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15722))
12+
- Remove deprecated methods from HTTP library instrumentations
13+
([#15802](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15802))
14+
15+
### 🚫 Deprecations
16+
17+
- JMX Metrics: Deprecated `addClassPathRules` and `addCustomRules` methods in
18+
`JmxTelemetryBuilder`, and moved non-public classes to an internal package
19+
([#15658](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15658))
20+
- Deprecated `setMessagingReceiveInstrumentationEnabled` in favor of
21+
`setMessagingReceiveTelemetryEnabled` to match config property name
22+
([#15668](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15668))
23+
- Deprecated database client attribute getter methods `getDbSystem()` and `getResponseStatus()`
24+
in favor of `getDbSystemName()` and `getResponseStatusCode()` to align with stable semantic
25+
conventions
26+
([#15696](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15696))
27+
- Deprecated `setCapturedRequestParameters()` in Servlet library instrumentation in favor of
28+
`Experimental.setCapturedRequestParameters()` as request parameter capture is experimental
29+
([#15826](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15826))
30+
- Deprecated `getHttpClient()`, `setHttpClientTransport()`, and `setSslContextFactory()` in Jetty
31+
client instrumentation in favor of new builder-style methods `newHttpClient()`,
32+
`newHttpClient(SslContextFactory)`, and `newHttpClient(HttpClientTransport, SslContextFactory)`
33+
([#15827](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15827))
34+
- Deprecate Netty experimental method that is still in public API
35+
([#15828](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15828))
36+
- Deprecated `newHttpClient()` in favor of `wrap()` in Java HTTP Client instrumentation for
37+
consistency with naming conventions across library instrumentations
38+
([#15829](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15829))
39+
- Deprecated `new*` methods in favor of `create*` methods across multiple instrumentation libraries
40+
for consistency (e.g., `newHttpClient()``createHttpClient()`, `newInterceptor()`
41+
`createInterceptor()`)
42+
([#15832](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15832))
43+
- Deprecated methods in `SqlStatementInfo` and `MultiQuery` in favor of methods using stable
44+
semantic convention terminology: `getFullStatement()``getQueryText()`, `getOperation()`
45+
`getOperationName()`, and `getStatements()``getQueryTexts()`
46+
([#15833](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15833))
47+
- Deprecated database getter methods in favor of methods using stable semantic convention
48+
terminology: `getResponseStatusCode()``getDbResponseStatusCode()`, `getBatchSize()`
49+
`getDbOperationBatchSize()`, and `getQueryParameters()``getDbQueryParameters()`
50+
([#15859](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15859))
51+
52+
### 📈 Enhancements
53+
54+
- Spring Boot starter: add support for
55+
`otel.instrumentation.logback-appender.experimental.capture-template`
56+
([#15649](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15649))
57+
- Spring Boot Starter: Support Spring Boot 4 RestClient
58+
([#15684](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15684))
59+
- Improve support for experimental declarative configuration
60+
([#15656](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15656),
61+
[#15688](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15688),
62+
[#15697](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15697),
63+
[#15698](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15698),
64+
[#15704](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15704),
65+
[#15707](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15707),
66+
[#15713](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15713),
67+
[#15714](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15714),
68+
[#15722](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15722),
69+
[#15727](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15727),
70+
[#15732](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15732),
71+
[#15733](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15733),
72+
[#15734](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15734),
73+
[#15735](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15735),
74+
[#15740](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15740),
75+
[#15741](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15741),
76+
[#15742](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15742),
77+
[#15752](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15752),
78+
[#15756](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15756),
79+
[#15787](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15787),
80+
[#15791](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15791),
81+
[#15792](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15792),
82+
[#15841](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15841),
83+
[#15856](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15856))
84+
- AWS Bedrock: support model IDs with regional prefixes (e.g., `us.`, `global.`) for
85+
inference profiles
86+
([#15751](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15751))
87+
- Redis: Improve sanitization for ACL command
88+
([#15797](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15797))
89+
- Ktor and Netty library instrumentations: Add `setSpanNameExtractorCustomizer`
90+
([#15825](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15825))
91+
- Support more of stable database semconv under opt-in flag
92+
([#15836](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15836),
93+
[#15854](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15854))
94+
- Move `SpanStatusExtractor.extract()` before `OperationListener.onEnd()` in `Instrumenter`
95+
([#15844](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15844))
96+
97+
### 🛠️ Bug fixes
98+
99+
- Servlet library instrumentation: fix capturing `enduser.id`
100+
([#15858](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15858))
101+
- Fix agent startup failing on read-only filesystem
102+
([#15682](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15682))
103+
5104
## Version 2.23.0 (2025-12-13)
6105

7106
### ⚠️ Breaking Changes

VERSIONING.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ Artifacts in this repository follow the same compatibility requirements describe
99
EXCEPT for the following incompatible changes which are allowed in stable artifacts in this
1010
repository:
1111

12-
- Changes to the telemetry produced by instrumentation
13-
(there will be some guarantees about telemetry stability in the future, see discussions
14-
in <https://github.com/open-telemetry/opentelemetry-specification/issues/1301>)
1512
- Changes to configuration properties that contain the word `experimental`
1613
- Changes to configuration properties under the namespace `otel.javaagent.testing`
1714

0 commit comments

Comments
 (0)