|
2 | 2 |
|
3 | 3 | ## Unreleased |
4 | 4 |
|
| 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 | + |
5 | 104 | ## Version 2.23.0 (2025-12-13) |
6 | 105 |
|
7 | 106 | ### ⚠️ Breaking Changes |
|
0 commit comments