github DataDog/dd-trace-java v1.69.0
1.69.0

one hour ago

Components

Application Security Management (WAF)

  • Bumps io.sqreen:libsqreen from 17.6.0 to 17.7.0, which moves the bundled libddwaf from 2.0.1 to 2.2.1. The gradle.lockfile updates are in the stacked #13370 (one line per file).
    • Handles a libddwaf 2.2.0 behaviour change in AppSecConfigServiceImpl. A rejected config update now unregisters its path (DataDog/libddwaf#523), so:
      remove() no longer fails when WafBuilder.removeConfig throws for that path, and always runs its cleanup;
      a rejected ASM_DD update forgets its key, so the default rules come back when no other ASM_DD config is left.
    • Raises the agent jar size budget from 34.5 to 35 MiB: libsqreen 17.7.0 adds about 150 KiB of native code, which put the jar 125 KiB over the budget.
    • Adds regression tests for the SSRF fix: a unit test against the bundled rules (rasp-934-100) and a new row in the rasp blocks on SSRF smoke test.
  • ๐Ÿ› Add AppSec request blocking to the Jetty 12 instrumentation (#13317 - @jandro996)
  • โœจ Resolve client IPs for Java Lambda AppSec events (#13219 - @claponcet)
  • ๐Ÿ› Fix AppSec initialization when libc detection is denied (#13162 - @claponcet)
  • ๐Ÿ› Fixes a SIGSEGV in libsqreen_jni.so JNI_OnLoad during AppSec initialization. (#13135)
  • ๐Ÿ› reject new WAF contexts once handle closure begins. (#13135)
  • ๐Ÿ› Fix flaky WAFModuleHandleReloadRaceTest wait assertion (#13133 - @cgcote)
  • โœจ Update default AppSec ruleset to release 1.19.0 (#13121 - @jandro996)

Configuration

  • โœจ Read stable configuration files on Windows (#13340 - @iamluc)
  • โœจ Implement OTEL_SDK_DISABLED handling to disable all OTel signals (#13278 - @vpellan)
  • ๐Ÿ› Fall back to default OTel exporter when only unsupported values are set (#13178 - @MilanGarnier)
  • ๐Ÿ› Support exporter lists in OTEL_{TRACES,METRICS,LOGS}_EXPORTER (#13159 - @MilanGarnier)
  • ๐Ÿ› Decode percent-encoded OTLP exporter header values (#13129 - @Mascarpone)
  • ๐Ÿ› Ignore empty OpenTelemetry environment variables (#13070 - @MilanGarnier)

Continuous Integration Visibility

Data Streams Monitoring

  • โšก๐Ÿงน Skip Data Streams backlog, schema registry and Kafka cluster id work when Data Streams is off (#13169 - @dougqh)
  • ๐Ÿ› Skip DSM tag/context building in Kafka producers when Data Streams is off (#13082 - @dougqh)
  • ๐Ÿ› Skip DSM tag/context building in RabbitMQ when Data Streams is off (#13081 - @dougqh)
  • ๐Ÿ› Skip DSM tag/context building in SQS 2.0 when Data Streams is off (#13080 - @dougqh)
  • ๐Ÿ› Skip DSM tag/context building in SQS 1.0 when Data Streams is off (#13079 - @dougqh)
  • ๐Ÿ› Skip DSM tag/context building in Kafka consumers when Data Streams is off (#13075 - @dougqh)

Dynamic Instrumentation

  • ๐Ÿงน Queue pre-serialized scopes in SymbolSink (#13309 - @jpbempel)
  • ๐Ÿ› Fix symbol extraction aborting on errors while resolving a class jar path (#13212 - @jpbempel)
  • ๐Ÿ› Fix probe status overwritten by other probes on the same method (#13202 - @jpbempel)
  • โœจ Add some specific spring maps as safe (#13160 - @jpbempel)
  • ๐Ÿ› Fall back to configured snapshot URL when agent has no snapshot endpoint (#13158 - @jpbempel)
  • โœจ Add Jython filter for symbol database (#13157 - @jpbempel)
  • ๐Ÿ› Support snapshot sampling rates below 1 per second (#13155 - @jpbempel)

GraalVM native-image

  • ๐Ÿ› Fix native-image builds with build-time JMX registration (#13143 - @ygree)

JMX fetch

  • ๐Ÿ› Remove noisy JMXFetch warning when JVM metrics are exported over OTLP (#13234 - @cecile75)

ML Observability (LLMObs)

  • โœจ Share LLMObs parent resolution and adopt propagated context in OpenAI spans (#12878 - @ncybul)

Metrics

  • ๐Ÿ› Stop exporting stale async OTel metric series (#13315 - @cecile75)
  • ๐Ÿ› Report 0 for empty thread states in OTLP jvm.thread.count (#13236 - @cecile75)
  • โœจ Add JMXFetch tags to OTLP runtime metrics (#12827 - @cecile75)

OpenFeature

  • ๐Ÿ› Report SPLIT reason for time-bounded sharded flag allocations (#13352 - @danyal002)
  • ๐Ÿ› Fail Feature Flags init at once without an API key and omit URLs from errors (#13267 - @aarsilv)
  • โœจ Add allocation key and record accessors to ExposureHook.Evaluation (#13223 - @danyal002)
  • โœจ๐Ÿ” Add debug diagnostics to the dd-openfeature SDK (#13092 - @ethan-romero-dg)
  • โœจ๐Ÿ” Add agent debug logging for feature flag onboarding (#13091 - @ethan-romero-dg)
  • โœจ Support per-subject experimentation opt-out (#12950 - @leoromanovsky)
  • โœจ Connect the dd-openfeature SDK to the agent (#12844 - @PerfectSlayer)

Profiling

๐Ÿ› Bump java-profiler (ddprof) to 1.52.1 (#13044 - @kaahos)

  • Measure native allocator overhead instead of assuming a fixed factor.
  • Improve stack frame attribution and AArch64 runtime stub unwinding.
  • Record the remote symbolication mode in JFR.
  • Add upstream reference-chain tracking and leak-signal detection, with liveness and recycled-tag identity fixes
  • Fix dictionary and call-trace table reclamation after drain timeouts, preserve string IDs across dictionary rotation, and correct live-trace preservation.
  • Fix duplicate and biased thread selection in wall-clock sampling, native socket hook timestamps, and continuation metadata lookup and frame alignment.
  • Add the upstream fjmethodid=lazy option for profiling HotSpot without jmethodIDs.

Testing

  • โœจ Enforce continuation diagnostics on smoke tests (#12609 - @amarziali)

Tracer core

  • ๐Ÿ› Treat non-zero gRPC status as an OTLP export failure (#13417 - @mhlidd)
  • ๐Ÿ›โšก Make LazyUrl equal to another LazyUrl with the same rendering (quick perf fix) (#13401 - @dougqh)
  • ๐Ÿ›โšก Key the v0.5 trace dictionary by string content (quick perf fix) (#13400 - @dougqh)
  • ๐Ÿ›โšก Keep Strings.regionContains from searching past the region (#13371 - @dougqh)
  • โœจ Report effective OpenTelemetry settings in the startup log (#13321 - @vpellan)
  • โœจ Support resource and tags matching in span sampling rules (#13280 - @RoseannaM)
  • ๐Ÿ› Stop exporting span.kind as an OTLP span attribute under OTel semantics (#13123 - @mhlidd)
  • โœจ Keep traces with different global tags in one OTLP payload rather than eagerly flushing (#13112 - @mhlidd)
  • ๐Ÿ› Fix stale type descriptions when transforming multi-release classes (#13109 - @mcculls)
  • โœจโšก Serialize traces into a chunked buffer instead of one 5 MiB array (#13096 - @dougqh)
  • โœจ Write global tags once on the OTLP trace resource (#13065 - @mhlidd)
  • โœจ Bound v0.5 trace dictionary memory (#13024 - @sarahchen6)
  • ๐Ÿ› Make a null tag value remove the tag in TagMap (dense store - part 1) (#12999 - @dougqh)
  • ๐Ÿ› Export propagation tags in OTLP trace export (#12985 - @anna-git)
  • ๐Ÿ› Fix trace and StatsD connections over Windows named pipes (#12898 - @Lewis-E)

Instrumentations

Aerospike instrumentation

  • ๐Ÿ› Support Aerospike asynchronous batch listeners (#13405 - @amarziali)
  • ๐Ÿ› Release Aerospike context when async submission fails (#13404 - @amarziali)
  • ๐Ÿ› Preserve context in Aerospike streaming callbacks (#13403 - @amarziali)

Armeria Instrumentation

  • ๐Ÿ› Skip header names gRPC rejects when injecting context into gRPC metadata (quick fix) (#13353 - @dougqh)

AWS Lambda instrumentation

  • โœจ Resolve client IPs for Java Lambda AppSec events (#13219 - @claponcet)

AWS SDK instrumentation

  • ๐Ÿ› Skip DSM tag/context building in SQS 2.0 when Data Streams is off (dsm - perf quick fix) (#13080 - @dougqh)
  • ๐Ÿ› Skip DSM tag/context building in SQS 1.0 when Data Streams is off (dsm - perf quick fix) (#13079 - @dougqh)

Eclipse Vert.x instrumentation

  • ๐Ÿ› Fix Vert.x request blocking timeouts (#13128 - @cgcote)

gRPC instrumentation

  • ๐Ÿ› Skip header names gRPC rejects when injecting context into gRPC metadata (quick fix) (#13353 - @dougqh)

JAX-RS instrumentation

JDBC instrumentation

  • ๐Ÿ›โšก Keep Strings.regionContains from searching past the region (#13371 - @dougqh)
  • Fix DBM comments for SQL Server JDBC escape calls (#13289 - @edengorevoy)

Jetty instrumentation

  • ๐Ÿ› Add AppSec request blocking to the Jetty 12 instrumentation (#13317 - @jandro996)
  • ๐Ÿ› Fix Netty closed-channel errors caused by native client disconnects (#13297 - @ygree)

Kafka instrumentation

  • โšก๐Ÿงน Skip context extraction for Kafka records without headers (#13177 - @dougqh)
  • โšก๐Ÿงน Skip finding a Kafka record's produce time when time in queue is off (#13171 - @dougqh)
  • โšก๐Ÿงน Skip Data Streams backlog, schema registry and Kafka cluster id work when Data Streams is off (#13169 - @dougqh)
  • ๐Ÿ› Skip DSM tag/context building in Kafka producers when Data Streams is off (dsm - perf quick fix) (#13082 - @dougqh)
  • ๐Ÿ› Skip DSM tag/context building in Kafka consumers when Data Streams is off (dsm - perf quick fix) (#13075 - @dougqh)
  • ๐Ÿ› Restore Kafka async consumer commit backlog tracking (#12915 - @amarziali)

Kotlin instrumentation

  • ๐Ÿ› Fix coroutine test helper context restoration (#13127 - @cgcote)

MongoDB instrumentation

  • ๐Ÿ› Preserve MongoDB context across deferred async trampoline callbacks (#13213 - @amarziali)
  • ๐Ÿ› Preserve Mongo context after asynchronous writes (#13172 - @cgcote)

Netty instrumentation

  • ๐Ÿ› Fix Netty client disconnects being reported as trace errors (#13113 - @ygree)
  • ๐Ÿ› Fix unresolved write promises in Netty blocking handler (#13067 - @ygree)

OpenTelemetry instrumentation

  • โœจ Report effective OpenTelemetry settings in the startup log (#13321 - @vpellan)
  • ๐Ÿ› Stop exporting stale async OTel metric series (#13315 - @cecile75)
  • ๐Ÿ› Ignore empty OpenTelemetry environment variables (#13070 - @MilanGarnier)
  • โœจ Emit OpenTelemetry semantic conventions for Akka HTTP and Play (#12901 - @zacharycmontoya)

RabbitMQ instrumentation

  • ๐Ÿ› Skip DSM tag/context building in RabbitMQ when Data Streams is off (dsm - perf quick fix) (#13081 - @dougqh)

Synapse Instrumentation

WebSocket Instrumentation

  • ๐Ÿ› Report correct websocket message type and size after the first message (#13438 - @dougqh)

All other instrumentations

  • ๐Ÿ› Skip Tomcat header slots without a name when visiting headers (quick fix) (#13357 - @dougqh)
  • โœจ Prevent request context propagation into WildFly EJB timers (#13238 - @amarziali)
  • ๐Ÿ› Preserve subscriber context for RxJava 3 multicast publishers (#13188 - @amarziali)

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

NewReleases is sending notifications on new releases.