|
2 | 2 |
|
3 | 3 | ## Unreleased |
4 | 4 |
|
| 5 | +## Version 2.21.0 (2025-10-17) |
| 6 | + |
| 7 | +## ⚠️ Breaking Changes |
| 8 | + |
| 9 | +- Hadoop JMX metrics have been renamed to align with semantic conventions. |
| 10 | + If you are using Hadoop JMX metrics, you will need to update your dashboards and alerts. |
| 11 | + ([#14411](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14411)) |
| 12 | +- Lettuce 5.1 instrumentation now aligns with other instrumentations and no longer sets the |
| 13 | + span status description. |
| 14 | + ([#14886](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14886)) |
| 15 | + |
| 16 | +## 🚫 Deprecations |
| 17 | + |
| 18 | +- The following Logback appender configuration properties have been renamed for clarity. |
| 19 | + The old property names have been deprecated and will be removed in a future release: |
| 20 | + - Java agent: `otel.instrumentation.logback-appender.experimental.capture-logstash-attributes` → |
| 21 | + `otel.instrumentation.logback-appender.experimental.capture-logstash-marker-attributes` |
| 22 | + - Spring Boot starter`otel.instrumentation.logback-appender.experimental.capture-logstash-markers` → |
| 23 | + `otel.instrumentation.logback-appender.experimental.capture-logstash-marker-attributes` |
| 24 | + - Logback appender configuration property: `captureLogstashAttributes` → `captureLogstashMarkerAttributes` |
| 25 | + - Logback appender API: `setCaptureLogstashAttributes()` → `setCaptureLogstashMarkerAttributes()` |
| 26 | + ([#14959](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14959)) |
| 27 | + |
| 28 | +### 🌟 New javaagent instrumentation |
| 29 | + |
| 30 | +- Add Helidon instrumentation |
| 31 | + ([#13776](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13776)) |
| 32 | +- Add NATS instrumentation |
| 33 | + ([#13999](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13999)) |
| 34 | +- OpenSearch Transport v3.0 Implementation |
| 35 | + ([#14823](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14823)) |
| 36 | +- Add Kafka Connect API instrumentation |
| 37 | + ([#14478](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14478)) |
| 38 | + |
| 39 | +### 🌟 New library instrumentation |
| 40 | + |
| 41 | +- Add Helidon Instrumentation |
| 42 | + ([#13776](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13776)) |
| 43 | +- Add NATS instrumentation |
| 44 | + ([#13999](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13999)) |
| 45 | +- [Failsafe](https://failsafe.dev/) 3.0 instrumentation introduced |
| 46 | + ([#14057](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14057)) |
| 47 | + |
| 48 | +### 📈 Enhancements |
| 49 | + |
| 50 | +- Add experimental sqlcommenter support for JDBC and R2DBC |
| 51 | + ([#13714](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13714)) |
| 52 | +- Align Hadoop JMX metrics with semantic conventions |
| 53 | + ([#14411](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14411)) |
| 54 | +- Introduce experimental API for operation attributes to be passed only to OperationListeners |
| 55 | + ([#14590](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14590)) |
| 56 | +- Add span logging support for declarative configuration |
| 57 | + ([#14591](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14591)) |
| 58 | +- Add span logging support for Spring Boot starter |
| 59 | + ([#14594](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14594)) |
| 60 | +- Support capturing event names in logback, log4j, and jboss-logmanager appenders |
| 61 | + ([#14649](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14649)) |
| 62 | +- Include contrib sampler in java agent, e.g. for filtering health check endpoints |
| 63 | + ([#14677](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14677)) |
| 64 | +- Collect RPC metrics in Apache Dubbo instrumentation |
| 65 | + ([#14690](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14690)) |
| 66 | +- Add experimental option to disable noisy `redis.encode` span events in Lettuce instrumentation |
| 67 | + ([#14750](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14750)) |
| 68 | +- Support ListIterator in Kafka consumer instrumentation for Spark Structured Streaming |
| 69 | + ([#14757](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14757)) |
| 70 | +- Exclude wrapper classes in JDBC instrumentation |
| 71 | + ([#14760](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14760)) |
| 72 | +- Support JDBC URL parsing for OceanBase, PolarDB, and Lindorm databases |
| 73 | + ([#14790](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14790)) |
| 74 | +- Support context propagation in Guava AsyncEventBus |
| 75 | + ([#14791](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14791)) |
| 76 | +- Make `db.statement` attribute available during sampling in Lettuce instrumentation |
| 77 | + ([#14856](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14856)) |
| 78 | +- Add `code.namespace` and `code.function` attributes to Vaadin controller spans |
| 79 | + ([#14882](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14882)) |
| 80 | +- Add `code.namespace` and `code.function` attributes to Grails controller spans |
| 81 | + ([#14885](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14885)) |
| 82 | +- Support Hibernate 7.2.0.CR1 |
| 83 | + ([#14921](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14921)) |
| 84 | +- Support capturing Logstash StructuredArguments as log record attributes |
| 85 | + ([#14959](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14959)) |
| 86 | +- Add gRPC request/response size metrics |
| 87 | + ([#14342](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14342)) |
| 88 | + |
| 89 | +### 🛠️ Bug fixes |
| 90 | + |
| 91 | +- Fix datasource instrumentation to support connection pools like Druid |
| 92 | + ([#14602](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14602)) |
| 93 | +- Fix Java HTTP client instrumentation to properly propagate request cancellation |
| 94 | + ([#14747](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14747)) |
| 95 | +- Fix Reactor Netty HTTP client instrumentation to handle IllegalStateException |
| 96 | + ([#14778](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14778)) |
| 97 | +- Fix executor context propagation when a stateless lambda instance is passed multiple times |
| 98 | + ([#14841](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14841)) |
| 99 | +- Remove span status description from Lettuce 5.1 instrumentation |
| 100 | + ([#14886](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14886)) |
| 101 | +- Fix Spring Boot autoconfiguration ordering for micrometer bridge |
| 102 | + ([#15011](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15011)) |
| 103 | + |
5 | 104 | ## Version 2.20.1 (2025-09-22) |
6 | 105 |
|
7 | 106 | ### 🛠️ Bug fixes |
|
0 commit comments