open-telemetry/opentelemetry-java-instrumentation (io.opentelemetry.instrumentation:opentelemetry-instrumentation-api)
### [`v2.1.0`](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/blob/HEAD/CHANGELOG.md#Version-210-2024-02-15)
##### Migration notes
- Deprecated config properties have been removed in favor of the new names:
- `otel.instrumentation.kafka.client-propagation.enabled` ->
`otel.instrumentation.kafka.producer-propagation.enabled`
- `otel.instrumentation.netty.always-create-connect-span` ->
`otel.instrumentation.netty.connection-telemetry.enabled`
- `otel.instrumentation.http.capture-headers.client.request` ->
`otel.instrumentation.http.client.capture-request-headers`
- `otel.instrumentation.http.capture-headers.client.response` ->
`otel.instrumentation.http.client.capture-response-headers`
- `otel.instrumentation.http.capture-headers.server.request` ->
`otel.instrumentation.http.server.capture-request-headers`
- `otel.instrumentation.http.capture-headers.server.response` ->
`otel.instrumentation.http.server.capture-response-headers`
- `otel.instrumentation.http.client.emit-experimental-metrics` ->
`otel.instrumentation.http.client.emit-experimental-telemetry`
- `otel.instrumentation.http.server.emit-experimental-metrics` ->
`otel.instrumentation.http.server.emit-experimental-telemetry`
([#10349](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10349))
- The deprecated Jaeger exporter has been removed
([#10241](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10241))
- Actuator instrumentation has been disabled by default.
You can enable using `OTEL_INSTRUMENTATION_SPRING_BOOT_ACTUATOR_AUTOCONFIGURE_ENABLED=true`
or `-Dotel.instrumentation.spring-boot-actuator-autoconfigure.enabled=true`.
([#10394](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10394))
- Spring starter: removed support for the deprecated [@io](https://togithub.com/io).opentelemetry.extension.annotations.WithSpan
annotation. Use [@io](https://togithub.com/io).opentelemetry.instrumentation.annotations.WithSpan annotation instead.
([#10530](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10530))
##### 🌟 New javaagent instrumentation
- MyBatis framework instrumentation
([#10258](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10258))
- Finagle instrumentation
([#10141](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10141))
##### 🌟 New library instrumentation
- Apache HttpClient 5 instrumentation
([#10100](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10100))
##### 📈 Enhancements
- Spring starter: add distro version resource attribute
([#10276](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10276))
- Add context propagation for rector schedulers
([#10311](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10311))
- Spring starter: automatic addition of the OTel Logback appender
([#10306](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10306))
- Spring starter: add resource detectors
([#10277](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10277))
- Allow closing the observables for System and Process metrics gathered by OSHI
([#10364](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10364))
- Spring starter: Allow to configure the OTel Logback appender from system properties
([#10355](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10355))
- Spring starter: re-use sdk logic for configuring otlp exporters
([#10292](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10292))
- Spring starter: add SystemOutLogRecordExporter
([#10420](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10420))
- Spring starter: use duration parser of config properties
([#10512](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10512))
- Spring starter: support `otel.propagators`
([#10408](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10408))
- Set route only on the SERVER span
([#10290](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10290))
- Convert Apache HttpClient 4.3 library instrumentation to "low-level" HTTP instrumentation
([#10253](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10253))
##### 🛠️ Bug fixes
- Fix log replay of the Log4j 2 appender
([#10243](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10243))
- Fix Netty addListener instrumentation
([#10254](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10254))
- Fix Calling shutdown() multiple times warning in spring starter
([#10222](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10222))
- Correctly fix NPE in servlet AsyncListener
([#10250](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10250))
- add [@ConditionalOnMissingBean](https://togithub.com/ConditionalOnMissingBean) to LoggingMetricExporter
([#10283](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10283))
- Make Netty Instrumentation HttpServerRequestTracingHandler propagate "Channel Inactive" event
to downstream according to parent contract
([#10303](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10303))
- Improve rediscala instrumentation to address sporadic test failure
([#10301](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10301))
- Undertow: restore attached context only when it is for different trace
([#10336](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10336))
- Reactor kafka wrapper delegates to wrong method
([#10333](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10333))
- Spring starter: add missing LoggingMetricExporterAutoConfiguration to spring factories
([#10282](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10282))
- Spring starter: Fix MapConverter does not get initialized if some exporters are turned off
([#10346](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10346))
- Update azure-core-tracing-opentelemetry version and fix double-collection for synchronous
HTTP requests
([#10350](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10350))
- Allow OSGI dynamic import for `io.opentelemetry` package when matching
([#10385](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10385))
- Use direct peer address in `client.address` when X-Forwarded-For is not present
([#10370](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10370))
- Netty: don't expose tracing handler in handlers map
([#10410](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10410))
- Wrap request to avoid modifying attributes of the original request
([#10389](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10389))
- Fix JarAnalyzer warnings on Payara
([#10458](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10458))
- Return wrapped connection from `Statement.getConnection()`
([#10554](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10554))
- Spring starter: Fix `otel.propagators`
([#10559](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10559))
- Populate `server.address` and `server.port` in Cassandra instrumentation
([#10357](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10357))
##### 🧰 Tooling
- Allow multiple invokedynamic InstrumentationModules to share classloaders
([#10015](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10015))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.0.0
->2.1.0
Release Notes
open-telemetry/opentelemetry-java-instrumentation (io.opentelemetry.instrumentation:opentelemetry-instrumentation-api)
### [`v2.1.0`](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/blob/HEAD/CHANGELOG.md#Version-210-2024-02-15) ##### Migration notes - Deprecated config properties have been removed in favor of the new names: - `otel.instrumentation.kafka.client-propagation.enabled` -> `otel.instrumentation.kafka.producer-propagation.enabled` - `otel.instrumentation.netty.always-create-connect-span` -> `otel.instrumentation.netty.connection-telemetry.enabled` - `otel.instrumentation.http.capture-headers.client.request` -> `otel.instrumentation.http.client.capture-request-headers` - `otel.instrumentation.http.capture-headers.client.response` -> `otel.instrumentation.http.client.capture-response-headers` - `otel.instrumentation.http.capture-headers.server.request` -> `otel.instrumentation.http.server.capture-request-headers` - `otel.instrumentation.http.capture-headers.server.response` -> `otel.instrumentation.http.server.capture-response-headers` - `otel.instrumentation.http.client.emit-experimental-metrics` -> `otel.instrumentation.http.client.emit-experimental-telemetry` - `otel.instrumentation.http.server.emit-experimental-metrics` -> `otel.instrumentation.http.server.emit-experimental-telemetry` ([#10349](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10349)) - The deprecated Jaeger exporter has been removed ([#10241](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10241)) - Actuator instrumentation has been disabled by default. You can enable using `OTEL_INSTRUMENTATION_SPRING_BOOT_ACTUATOR_AUTOCONFIGURE_ENABLED=true` or `-Dotel.instrumentation.spring-boot-actuator-autoconfigure.enabled=true`. ([#10394](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10394)) - Spring starter: removed support for the deprecated [@io](https://togithub.com/io).opentelemetry.extension.annotations.WithSpan annotation. Use [@io](https://togithub.com/io).opentelemetry.instrumentation.annotations.WithSpan annotation instead. ([#10530](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10530)) ##### 🌟 New javaagent instrumentation - MyBatis framework instrumentation ([#10258](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10258)) - Finagle instrumentation ([#10141](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10141)) ##### 🌟 New library instrumentation - Apache HttpClient 5 instrumentation ([#10100](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10100)) ##### 📈 Enhancements - Spring starter: add distro version resource attribute ([#10276](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10276)) - Add context propagation for rector schedulers ([#10311](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10311)) - Spring starter: automatic addition of the OTel Logback appender ([#10306](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10306)) - Spring starter: add resource detectors ([#10277](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10277)) - Allow closing the observables for System and Process metrics gathered by OSHI ([#10364](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10364)) - Spring starter: Allow to configure the OTel Logback appender from system properties ([#10355](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10355)) - Spring starter: re-use sdk logic for configuring otlp exporters ([#10292](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10292)) - Spring starter: add SystemOutLogRecordExporter ([#10420](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10420)) - Spring starter: use duration parser of config properties ([#10512](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10512)) - Spring starter: support `otel.propagators` ([#10408](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10408)) - Set route only on the SERVER span ([#10290](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10290)) - Convert Apache HttpClient 4.3 library instrumentation to "low-level" HTTP instrumentation ([#10253](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10253)) ##### 🛠️ Bug fixes - Fix log replay of the Log4j 2 appender ([#10243](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10243)) - Fix Netty addListener instrumentation ([#10254](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10254)) - Fix Calling shutdown() multiple times warning in spring starter ([#10222](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10222)) - Correctly fix NPE in servlet AsyncListener ([#10250](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10250)) - add [@ConditionalOnMissingBean](https://togithub.com/ConditionalOnMissingBean) to LoggingMetricExporter ([#10283](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10283)) - Make Netty Instrumentation HttpServerRequestTracingHandler propagate "Channel Inactive" event to downstream according to parent contract ([#10303](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10303)) - Improve rediscala instrumentation to address sporadic test failure ([#10301](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10301)) - Undertow: restore attached context only when it is for different trace ([#10336](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10336)) - Reactor kafka wrapper delegates to wrong method ([#10333](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10333)) - Spring starter: add missing LoggingMetricExporterAutoConfiguration to spring factories ([#10282](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10282)) - Spring starter: Fix MapConverter does not get initialized if some exporters are turned off ([#10346](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10346)) - Update azure-core-tracing-opentelemetry version and fix double-collection for synchronous HTTP requests ([#10350](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10350)) - Allow OSGI dynamic import for `io.opentelemetry` package when matching ([#10385](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10385)) - Use direct peer address in `client.address` when X-Forwarded-For is not present ([#10370](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10370)) - Netty: don't expose tracing handler in handlers map ([#10410](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10410)) - Wrap request to avoid modifying attributes of the original request ([#10389](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10389)) - Fix JarAnalyzer warnings on Payara ([#10458](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10458)) - Return wrapped connection from `Statement.getConnection()` ([#10554](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10554)) - Spring starter: Fix `otel.propagators` ([#10559](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10559)) - Populate `server.address` and `server.port` in Cassandra instrumentation ([#10357](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10357)) ##### 🧰 Tooling - Allow multiple invokedynamic InstrumentationModules to share classloaders ([#10015](https://togithub.com/open-telemetry/opentelemetry-java-instrumentation/pull/10015))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.