github DataDog/dd-trace-java v1.67.0
1.67.0

7 hours ago

Components

AI Guard

Application Security Management (WAF)

  • 🐛 Finish HTTP client spans and close scopes when AppSec blocks requests (#12611 - @amarziali)
  • 🐛 Complete AWS Lambda AppSec telemetry integration (#12587 - @claponcet)
  • 🐛 Restore the no-arg constructors the Moshi reflective adapters require (#12566 - @claponcet)
  • 🐛 Fix concurrent access to AppSec derivatives during tracing (#12523 - @claponcet)
  • ✨ Add block_failure telemetry to jersey, resteasy, commons-fileupload and okhttp (#12519 - @jandro996)
  • ✨ Infer status 200 for implicit-success Lambda responses (#12494 - @claponcet)
  • 🐛 Consult AppSec trace rate limiter only when the WAF requests trace retention (#12482 - @claponcet)
  • 🐛 Report v1 SDK custom events as sdk_version:v1 in telemetry (#12438 - @claponcet)
  • ✨ Parse Lambda AppSec request bodies according to their content type (#12363 - @claponcet)
  • ✨ Add block-outcome telemetry for Netty blocking enforcement failures (#12316 - @jandro996)
  • 🐛 Fix AppSec instrumentation hooks lost after Remote Config reload (#12271 - @jandro996)
  • 🐛 Fix multipart body-map cap bypass and charset handling in RESTEasy (#12085 - @jandro996)

Build & Tooling

Configuration

Continuous Integration Visibility

Crash Tracking

  • 🐛 Fix crash-tracking script/directory permission lockdown (#12330 - @jbachorik)

Database Monitoring

  • ✨⚡ Reduce DBM comment buffer allocation (#12582 - @amarziali)
  • 🐛 Fix NPE in JDBC instrumentation when connection has no database type (#12371 - @dougqh)
  • ✨ Propagate Oracle dynamic service hash without SQL comments (#12234 - @joelmarcotte)

Dynamic Instrumentation

GraalVM native-image

  • 🐛 Fix stale _dd.base_service on GraalVM/Mandrel native-image builds (#12571 - @Yeison2020)

ML Observability (LLMObs)

  • 🐛 Carry the agent manifest inside metadata so it reaches the backend (#12512 - @ncybul)
  • ✨ Emit gen_ai.* attributes on APM spans (#12450 - @mz1119)
  • ✨ Propagate LLM Observability context across service boundaries (#12416 - @ncybul)

OpenFeature

Profiling

Telemetry

  • ✨ Introduce Tags/OTLP Resource Attributes for OTLP Adoption Metrics (#12516 - @mhlidd)

Trace context propagation

Tracer core

  • 🐛 Fix application service names beneath inferred proxy spans (#12553 - @mhlidd)
  • 🐛 Fix agent sampling rates being ignored when sampling rules are configured (#12490 - @mhlidd)
  • ✨⚡ Use ObjectStore to track context bound to arbitrary objects (#12463 - @mcculls)
  • 🧹 Improve concurrent hash table insertion performance (#12462 - @dougqh)
  • 🐛 Fix null trace config returned from extracted spans (#12413 - @mcculls)
  • 🐛 Keep JDK Unix socket timeouts from stopping trace delivery (#12322 - @bric3)

Instrumentations

Akka and Pekko instrumentation

  • 🐛 Release Akka message continuations when discarded to dead letters (#12616 - @amarziali)
  • 🐛 Prevent Akka HTTP timeout cleanup from retaining request context (#12615 - @amarziali)
  • 🐛 Use context swap for Akka and Pekko HTTP flows (#12507 - @amarziali)
  • 🐛 Prevent Pekko callbacks from retaining request contexts (#12675 - @amarziali)
  • 🐛 Prevent Pekko stream lifecycle context retention (#12470 - @amarziali)

Apache Spark instrumentation

AWS Lambda instrumentation

AWS SDK instrumentation

  • 🐛 Tag http.status_code on AWS SDK spans for non-2xx service errors (#12749 - @Yeison2020)
  • ✨⚡ Reduce SQS body propagation parsing overhead (#12568 - @amarziali)
  • ✨⚡ Reduce SQS propagation attribute formatting overhead (#12562 - @amarziali)

Core Java language instrumentation

  • ✨ Preserve trace context in delayed ForkJoinPool tasks (#12600 - @amarziali)
  • 🐛 Fix Java HTTP async continuation lifecycle (#12498 - @amarziali)
  • 🐛 Fix continuation cleanup when TimerTask is cancelled (#12464 - @amarziali)
  • ✨ Reduce virtual-thread context-propagation overhead on park/unpark (#11893 - @amarziali)

Couchbase instrumentation

  • 🐛 Prevent Couchbase Netty initialization from capturing context (#12520 - @amarziali)

Eclipse Vert.x instrumentation

  • 🐛 Prevent Vert.x 4 session reaper from retaining request contexts (#12667 - @bric3)

Guidewire instrumentation

JAX-RS instrumentation

  • 🐛 Fix multipart body-map cap bypass and charset handling in RESTEasy (#12085 - @jandro996)
  • ✨ Add block_failure telemetry to jersey, resteasy, commons-fileupload and okhttp (#12519 - @jandro996)

JDBC instrumentation

Jetty instrumentation

Kotlin instrumentation

  • 🐛 Prevent duplicate Kotlin coroutine continuation release (#12466 - @amarziali)

Lettuce instrumentation

  • 🐛 Fix Redis peer tags for Lettuce cluster-mode connections and commands (#12433 - @ygree)

MongoDB instrumentation

Netty instrumentation

  • ✨⚡ Reuse Netty request-context attributes between requests (#12584 - @amarziali)
  • 🧹 Fix context propagation for delayed Netty scheduled task (#12541 - @amarziali)
  • 🐛 Prevent Netty idle timers from retaining request context (#12503 - @amarziali)
  • 🐛 Prevent Netty periodic purge tasks from inheriting context (#12499 - @amarziali)
  • ✨ Add block-outcome telemetry for Netty blocking enforcement failures (#12316 - @jandro996)

Spring instrumentation

  • ✨ Share the WebFlux parsed-route cache across requests (#12561 - @amarziali)
  • ✨⚡ Avoid repeated controller attribute-key allocation in Spring MVC (#12547 - @amarziali)

Square OkHttp instrumentation

  • ✨⚡ Reduce OkHttp AppSec header conversion overhead (#12567 - @amarziali)
  • ✨ Add block_failure telemetry to jersey, resteasy, commons-fileupload and okhttp (#12519 - @jandro996)
  • 🐛 Stop AppSecInterceptor from silently retrying failed okhttp requests (#12242 - @dougqh)

All other instrumentations

  • 🐛 Fix Spray request scope close ownership (#12700 - @amarziali)
  • 🐛 Fix Axis2 resumed message scope close order (#12699 - @amarziali)
  • 🐛 Fix continuation cleanup when Apache async HTTP submission fails (#12613 - @amarziali)
  • ✨⚡ Avoid decoding unrelated Tomcat headers when tagging security markers (#12589 - @amarziali)
  • ✨⚡ Cache Hibernate entity-name lookups by class (#12563 - @amarziali)
  • 🐛 Avoid duplicate context capture in OpenSearch executors (#12521 - @amarziali)
  • ✨ Skip Drools internal types classloader during transformation (#12481 - @amarziali)
  • 🐛 Fix TIBCO BusinessWorks instrumentation for version 5.16 (#12449 - @vandonr)
  • ✨ Add R2DBC instrumentation via r2dbc-proxy listener SPI (#12441 - @jordan-wong)
  • 🐛 Fix Undertow NPE when request Host header is absent or unparseable (#12373 - @dougqh)

Don't miss a new dd-trace-java release

NewReleases is sending notifications on new releases.