Releases: open-telemetry/opentelemetry-java-instrumentation
Version 2.6.0
This release targets the OpenTelemetry SDK 1.40.0.
Note that many artifacts have the -alpha
suffix attached to their version number, reflecting that they are still alpha quality and will continue to have breaking changes. Please see the VERSIONING.md for more details.
The Spring Boot Starter (opentelemetry-spring-boot-starter
) is now stable.
Migration notes
- The
opentelemetry-spring-boot
andopentelemetry-spring-boot-3
artifacts have been merged into a single artifact namedopentelemetry-spring-boot-autoconfigure
which supports both Spring Boot 2 and Spring Boot 3 - Two experimental HTTP metrics have been renamed: -
http.server.request.size
→http.server.request.body.size
, -http.server.response.size
→http.server.response.body.size
🌟 New javaagent instrumentation
📈 Enhancements
- Support HTTP client instrumentation configuration in Spring starter (#11620)
- Influxdb client: don't fill
db.statement
for create/drop database and write operations (#11557) - Support
otel.instrumentation.common.default-enabled
in the Spring starter (#11746) - Support Jetty HTTP client 12 (#11519)
- Add Pulsar
messaging.producer.duration
metric (#11591) - Improve instrumentation suppression behavior (#11640)
- Propagate OpenTelemetry context through custom AWS client context for Lambda direct calls (#11675)
- Spring Native support for
@WithSpan
(#11757) - Support HTTP server instrumentation config properties in the Spring starter (#11667)
🛠️ Bug fixes
- Fix
http.server.active_requests
metric with async requests (#11638)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@123liuziming
@breedx-splk
@crossoverJie
@devurandom
@heyams
@jaydeluca
@jeanbisutti
@johnbley
@JonasKunz
@laurit
@lucasamoroso
@pandaji
@steverao
@SylvainJuge
@trask
@tylerbenson
@xiepuhuan
@Yindazz
@zeitlinger
Version 1.33.4
This is a patch release on the previous 1.33.3 release, fixing the issue(s) below.
📈 Enhancements
- Backport: Undertow, run response customizer on all ServerConnection implementations (#11548)
- Backport: Improve security manager support (#11606)
- Backport: Update the OpenTelemetry SDK version to 1.39.0 (#11603)
🛠️ Bug fixes
- Backport: Avoid NullPointerException when JMS destination is not available (#11577)
- Backport: Fix Spring Kafka instrumentation closing the trace too early (#11592)
- Backport: Fix gRPC instrumentation adding duplicates to metadata instead of overwriting (#11604)
- Backport: Fix request header capture corrupting tomcat request (#11607)
Version 2.5.0
This release targets the OpenTelemetry SDK 1.39.0.
Note that many artifacts have the -alpha
suffix attached to their version number, reflecting that they are still alpha quality and will continue to have breaking changes. Please see the VERSIONING.md for more details.
📈 Enhancements
- Add support for Informix connection string parsing in JDBC instrumentation (#11542)
- Generate an SBOM for the javaagent artifact (#11075)
- Extract sql operation even when the sanitizer is disabled (#11472)
- Improve security manager support (#11466)
- Generate Log4j2Plugin.dat for OpenTelemetryAppender (#11503)
- Stop kotlin coroutine dispatcher from propagating context (#11500)
- Handle Vert.x sub routes (#11535)
- Undertow: run response customizer on all ServerConnection implementations (#11539)
- Allow configuring MDC key names for trace_id, span_id, trace_flags (#11329)
- Apply async end strategy to all kotlin coroutine flows (#11583)
🛠️ Bug fixes
- Fix container.id issue in some crio scenarios (#11382)
- Fix Finagle http client context propagation (#11400)
- Fix sporadically failing finagle test (#11441)
- Fix request header capture corrupting tomcat request (#11469)
- Fix Ktor server instrumentation when Ktor client library is not present (#11454)
- Fix gRPC instrumentation adding duplicates to metadata instead of overwriting (#11308)
- Avoid NullPointerException when JMS destination is not available (#11570)
- Fix Spring Kafka instrumentation closing the trace too early (#11471)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@AlchemyDing
@breedx-splk
@cleverchuk
@heyams
@himamulch
@jack-berg
@jaydeluca
@jeanbisutti
@JonasKunz
@KarinaGanieva-sl
@kintan-singh-backend
@kjschnei001
@laurit
@liurui-1
@ofelbaum
@pavelvodrazka
@pepeshore
@philsttr
@Questlog
@rickardoberg
@s-af
@steverao
@SylvainJuge
@trask
@tylerbenson
@wgy035
@zeitlinger
@zhangjiabin1010
Version 1.33.3
This is a patch release on the previous 1.33.2 release, fixing the issue(s) below.
📈 Enhancements
Version 2.4.0
This release targets the OpenTelemetry SDK 1.38.0.
Note that many artifacts have the -alpha
suffix attached to their version number, reflecting that they are still alpha quality and will continue to have breaking changes. Please see the VERSIONING.md for more details.
🌟 New javaagent instrumentation
📈 Enhancements
- Instrument ConnectionSource in Akka/Pekko HTTP Servers (#11103)
- Use constant span name when using Spring AMQP AnonymousQueues (#11141)
- Add support for
RestClient
in Spring starter (#11038) - Add support for WebFlux server in Spring starter (#11185)
- Add async operation end strategy for Kotlin coroutines flow (#11168)
- Add automatic JDBC instrumentation to the Spring starter (#11258)
- Add
StructuredTaskScope
instrumentation (#11202) - Allow reading OTel context from reactor ContextView (#11235)
- Add spring starter r2dbc support (#11221)
- Enable instrumentation of Spring EJB clients (#11104)
- Support
otel.instrumentation.kafka.experimental-span-attributes
in Spring starter (#11263) - Remove incubating semconv dependency from library instrumentation (#11324)
- Add extension functions for Ktor plugins (#10963)
- Add dedicated flag for R2DBC statement sanitizer (#11384)
- Allow library instrumentations to override span name (#11355)
- Don't sanitize PostgreSQL parameter markers (#11388)
- Make statement sanitizer configurable for Spring Boot (#11350)
🛠️ Bug fixes
- Fix GraphQL instrumentation to work with latest version (#11142)
- Fix jmx-metrics on WildFly (#11151)
- End gRPC server span in onComplete instead of close (#11170)
- Fix a bug in undertow instrumentation related to HTTP/2 (#11361)
- Armeria http client reports wrong protocol version (#11334)
- Use daemon thread for scheduling in jmx-metrics BeanFinder (#11337)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@123liuziming
@aaron-ai
@AlchemyDing
@ArtyomGabeev
@aschugunov
@breedx-splk
@cxjava
@dengliming
@ehsannas
@flamiau04
@hannahchan
@jaydeluca
@jeanbisutti
@jmadureira
@laurit
@LikeTheSalad
@lizongwu
@marychatte
@ofelbaum
@PeterF778
@philsttr
@steverao
@swar8080
@SylvainJuge
@trask
@v1v
@zackman0010
@zeitlinger
Version 1.33.2
Version 2.3.0
This release targets the OpenTelemetry SDK 1.37.0.
Note that many artifacts have the -alpha
suffix attached to their version number, reflecting that they are still alpha quality and will continue to have breaking changes. Please see the VERSIONING.md for more details.
📈 Enhancements
- Handle async requests in spring mvc library instrumentation (#10868)
- Support statement sanitizer enabled flag in lettuce 5.1 instrumentation (#10922)
- Remove AWS Active Tracing span linking (#10930)
- Make spring boot honor the standard environment variables for maps (#11000)
- Pulsar: use span links when receive telemetry is enabled (#10650)
- Rename
messaging.kafka.destination.partition
tomessaging.destination.partition.id
(#11086) - Support
service.instance.id
in spring starter (#11071) - Add library instrumentation for RestTemplateBuilder (#11054)
- Add cloud resource providers in spring starter (#11014)
🛠️ Bug fixes
- Fix disabling virtual thread context propagation (#10881)
- Fix virtual thread instrumentation for jdk 21 ea versions (#10887)
- Fix spring kafka interceptor wrappers not delegating some methods (#10935)
- AWS Lambda Runtime legacy internal handlers need to be ignored from being instrumented and so traced … (#10942)
- Metro: ignore UnsupportedOperationException when updating span name (#10996)
- Fix jedis plugin for 2.7.2 (#10982)
- Fix idle in druid instrumentation (#11079)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@123liuziming
@AlchemyDing
@breedx-splk
@cleverchuk
@damienburke
@huange7
@itsmykairos
@jack-berg
@jaydeluca
@jeanbisutti
@johnbley
@JonasKunz
@laurit
@Moscagus
@phillipdriver
@rapphil
@robberphex
@serkan-ozal
@srinivas-bode
@steverao
@SylvainJuge
@Synthenses
@trask
@tylerbenson
@wang007
@xiangtianyu
@zeitlinger
Version 1.33.1
Version 2.2.0
This release targets the OpenTelemetry SDK 1.36.0.
Note that many artifacts have the -alpha
suffix attached to their version number, reflecting that they are still alpha quality and will continue to have breaking changes. Please see the VERSIONING.md for more details.
Migration notes
- Remove deprecated spring properties (#10454)
🌟 New javaagent instrumentation
- Add cloud resource detectors in javaagent, but keep them disabled by default (#10754)
- Add support for XXL-JOB (#10421)
📈 Enhancements
- Don't fill network peer for cassandra SniEndPoint (#10573)
- Spring boot starter: add service.version detection, improve service.name detection (#10457)
- Always create a JMS consumer span (#10604)
- Ability to disable the automatic Logback appender addition (#10629)
- Allow excluding all methods of a class (#10753)
- Preserve attribute type for logback key value pairs (#10781)
- Add instrumentation for graphql 20 that does not use deprecated methods (#10779)
- Capture http.route for pekko-http (#10799)
- Normalize SQL IN(?, ?, ...) statements to "in(?)" to reduce cardinality of db.statement attribute (#10564)
- Capture
db.operation
for CREATE/DROP/ALTER SQL statement (#10020) - Ignore AWS Lambda Runtime internal handlers (#10736)
- Spring use SDK autoconfig (#10453)
- Add manifest resource detector (#10621)
- Add instrumentation for jetty 12 (#10575)
- add host.id resource provider (#10627)
🛠️ Bug fixes
- Don't fail spring application startup if sdk is disabled (#10602)
- Fix shading aws propagator (#10669)
- Disable http and rpc metrics when advice can not be applied (#10671)
- Fix native tests (#10685)
- Fix tomcat instrumentation when user includes wrong servlet api (#10757)
- Override xray trace header instead of appending (#10766)
- Fix spring boot starter failing without logback (#10802)
- Fix spring kafka context leak when batch listener is retried (#10741)
- Fix the logic to get container.id resource attribute (#10737)
- Configure kafka metrics reporter as class (#10855)
- Disable context propagation when virtual thread is switched to the carrier thread (#10854)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@bbakerman
@bjrara
@breedx-splk
@cleverchuk
@crossoverJie
@dalbani
@dmarkwat
@freshchen
@gaeljw
@gdw2
@hatharom
@heyams
@jaydeluca
@jeanbisutti
@jkwatson-verta
@JonasKunz
@laurit
@liurui-1
@Moscagus
@paragniist
@pmitura-lucid
@qixiaogang
@samwright
@serkan-ozal
@steverao
@swar8080
@theletterf
@tkramarczyk-vgw
@trask
@tylerbenson
@wangzlei
@zeitlinger
Version 1.33.0
This release targets the OpenTelemetry SDK 1.35.0.
Note that many artifacts have the -alpha
suffix attached to their version number, reflecting that they are still alpha quality and will continue to have breaking changes. Please see the VERSIONING.md for more details.
Migration notes
- The deprecated Jaeger exporter has been removed (#10524)