github DataDog/dd-trace-java v1.68.0
1.68.0

3 hours ago

Components

AI Guard

  • ๐Ÿ› Prevent AI Guard HTTP pool workers from retaining request context (#12612 - @amarziali)

Application Security Management (WAF)

  • ๐Ÿ› Fix Lambda AppSec processing without a source IP and duplicate cookies (#12994 - @claponcet)
  • ๐Ÿ› Prevent API Security sampling from hanging request threads (#12836 - @claponcet)
  • ๐Ÿ› Fix crash when remote config replaces the WAF handle during context creation (#12770 - @claponcet)
  • ๐Ÿ› Report effective AppSec state in app-started telemetry (#12741 - @jandro996)
  • โœจ Add block_failure telemetry for Tomcat blocking enforcement failures (#12493 - @jandro996)

Configuration at Runtime

  • ๐Ÿ› Fix stale _dd.dsm.enabled tag after remote config toggles Data Streams (#12939 - @dougqh)
  • ๐Ÿ› Keep global tags apart from span defaults in the config snapshot (#12937 - @dougqh)

Continuous Integration Visibility

Data Streams Monitoring

Dynamic Instrumentation

GraalVM native-image

  • ๐Ÿ› Initialize tag processors at native-image run time (#12762 - @Yeison2020)

ML Observability (LLMObs)

  • ๐Ÿ› Drop APM traces when APM tracing is disabled and keep LLM Observability working (#12473 - @ncybul)
  • ๐Ÿ› Flush LLM Obs intake writer synchronously in serverless environments (#12249 - @purple4reina)

Metrics

  • โœจ Flush OpenTelemetry metrics by closing the MeterProvider (#12909 - @PerfectSlayer)
  • โœจ Expose OpenTelemetry metrics shutdown through MeterProvider (#12317 - @bm1549)

OpenFeature

  • โœจ Add per-subject evaluation telemetry opt-out (#12884 - @leoromanovsky)
  • ๐Ÿ› Send feature flag exposures after evaluation, and let applications record them with ExposureHook (#12774 - @danyal002)
  • โœจ Send Java SDK identity with Feature Flagging EVP events (#12575 - @leoromanovsky)
  • โœจ Harden Agentless Feature Flags EVP delivery (#12477 - @leoromanovsky)

OpenTracing

  • ๐Ÿ› Fix OpenTracing header injection in the shaded JAR (#12859 - @amarziali)

Profiling

Telemetry

  • ๐Ÿ› Report effective AppSec state in app-started telemetry (#12741 - @jandro996)

Trace context propagation

  • ๐Ÿ› Prevent IntelliJ test hangs when tracing executor tasks (#12989 - @mcculls)
  • ๐Ÿ› Fix mismatched _dd.p.ksr under concurrent sampling decisions with different rates (#12988 - @dougqh)
  • ๐Ÿ› Fix span propagation across Kotlin withContext and flowOn (#12953 - @mcculls)

Tracer core

  • ๐Ÿ›โšก Skip Gosu SingleServingGosuClassLoader in classloader matching (#12811 - @Yeison2020)
  • ๐Ÿ› Fix partial query redaction caused by encoded ampersands (#12995 - @mcculls)
  • โœจ Resolve direction-scoped OpenTelemetry names when reading span tags (OTLP/tag registry) (#12972 - @dougqh)
  • ๐Ÿ› Fix stale _dd.dsm.enabled tag after remote config toggles Data Streams (#12939 - @dougqh)
  • ๐Ÿ› Keep global tags apart from span defaults in the config snapshot (#12937 - @dougqh)
  • ๐Ÿงน Simplify TID header parsing error handling (#12927 - @PerfectSlayer)
  • ๐Ÿ› Prevent ClassLatch from latching wrappers with defaults methods (#12823 - @bric3)
  • ๐Ÿ› Fix split-by-tags for tags configured by OpenTelemetry name (#12814 - @dougqh)
  • ๐Ÿ› Fix ClassLatch never latching on Java 8 (#12799 - @dougqh)
  • โœจ Update default query string obfuscation pattern (#12769 - @jandro996)
  • โšก๐Ÿงน Improve span link encoding performance (#12768 - @PerfectSlayer)
  • โœจ Emit OpenTelemetry semantic conventions on HTTP spans (#12765 - @zacharycmontoya)
  • ๐Ÿงน Replace FieldBackedContextAccessor with KeyWithValue (#12750 - @mcculls)
  • โœจ Update dd-instrument-java to v0.0.6 (#12744 - @mcculls)
  • ๐Ÿ›โšก Parse Datadog trace and span id headers without exceptions (#12739 - @dougqh)
  • ๐Ÿ› Drop APM traces when APM tracing is disabled and keep LLM Observability working (#12473 - @ncybul)
  • ๐Ÿ› Fix NullPointerException from activating a null span in scope manager (#12451 - @dougqh)

Tracer public API

Instrumentations

Apache Spark instrumentation

  • โœจ Spark integration: stop collecting spark physical plan (#12919 - @aboitreaud)
  • โœจ Tag Spark application, job and stage spans with the serializer (#12712 - @aboitreaud)

AWS Lambda instrumentation

  • ๐Ÿ› Fix Lambda AppSec processing without a source IP and duplicate cookies (#12994 - @claponcet)
  • ๐Ÿ› Parse X-Forwarded-Port in Lambda without exceptions (quick fix) (#12791 - @dougqh)
  • ๐Ÿ› Flush LLM Obs intake writer synchronously in serverless environments (#12249 - @purple4reina)

AWS SDK instrumentation

Azure Functions instrumentation

Core Java language instrumentation

  • ๐Ÿ›โšก Avoid capturing request context in OpenJDK 25 virtual-thread timeout tasks (#12851 - @amarziali)
  • ๐Ÿ› Fix startup deadlock with virtual threads (#12786 - @amarziali)
  • ๐Ÿ› Prevent context retention in OpenJDK virtual pollers and HttpClient selector (#12626 - @amarziali)

JDBC instrumentation

  • ๐Ÿ› Fix DB2 JDBC URL parsing failure when :// is only in a property value (#12803 - @dougqh)
  • ๐Ÿ› Fix Oracle and jTDS JDBC URL parsing failures (#12780 - @dougqh)

Jetty instrumentation

  • โœจ Add Jetty 12.0 native WebSocket tracing and fix upgrade span completion (#12674 - @ygree)

JMS instrumentation

  • ๐Ÿ› Fix invalid shaded helper package names (#12925 - @mcculls)
  • ๐Ÿงน Convert JMSDecorator.getDestination to ClassLatch (#12720 - @dougqh)

Kafka instrumentation

Kotlin instrumentation

  • ๐Ÿ› Fix span propagation across Kotlin withContext and flowOn (#12953 - @mcculls)
  • ๐Ÿ› Fix Kotlin coroutine context isolation and continuation ownership (#12914 - @mcculls)

Netty instrumentation

  • ๐Ÿ› Fix context propagation during Netty task cancellation (#12825 - @amarziali)
  • โœจ Clear Reactor Netty request context when pooled connections are released (#12763 - @amarziali)

OpenTelemetry instrumentation

  • โœจ Flush OpenTelemetry metrics by closing the MeterProvider (#12909 - @PerfectSlayer)
  • โœจ Expose OpenTelemetry metrics shutdown through MeterProvider (#12317 - @bm1549)

Play Framework instrumentation

  • ๐Ÿ› Fix Play server spans losing URL tags on a malformed Host port (quick fix) (#12790 - @dougqh)

Reactor instrumentation

  • โœจโšก Skip unnecessary Reactor and Reactive Streams transformation work (#12969 - @amarziali)

R2DBC instrumentation

  • ๐Ÿ› Fix unbounded batch resource normalization in R2DBC instrumentation (#12935 - @jordan-wong)
  • ๐Ÿ› Fix unfinished R2DBC query spans after filtering results (#12767 - @amarziali)

Scala instrumentation

  • ๐Ÿ› Fix Scala firstCompletedOf continuation cleanup (#12681 - @amarziali)

Servlet instrumentation

  • ๐Ÿ› Skip storing the dispatcher target when the servlet context returns no dispatcher (#12802 - @dougqh)

Spring instrumentation

Tomcat instrumentation

  • โœจ Add block_failure telemetry for Tomcat blocking enforcement failures (#12493 - @jandro996)
  • ๐Ÿ› Guard Tomcat CoyoteAdapter advice against null-scope NPE (#12375 - @dougqh)

Undertow instrumentation

  • ๐Ÿ› Fix NPE in Undertow decorator when the request line fails to parse (#12730 - @dougqh)

WebSocket Instrumentation

  • โœจ Add Jetty 12.0 native WebSocket tracing and fix upgrade span completion (#12674 - @ygree)
  • ๐Ÿ› Fix NullPointerException from activating a null span in scope manager (#12451 - @dougqh)

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

NewReleases is sending notifications on new releases.