github DataDog/dd-trace-java v1.35.0
1.35.0

latest releases: v1.35.2, v1.35.1
15 days ago

Known Issues

This release contains a critical bug that may break applications using AWS SNS with immutable message attributes.

To avoid this bug you can either use v1.34.0 or turn off the SNS integration with this JVM option
-Ddd.integration.sns.enabled=false or this environment variable DD_INTEGRATION_SNS_ENABLED=false.

Turning off the SNS integration won't change the traces collected, but may cause some SNS traces to become disconnected.

Potentially Breaking Changes

Warning

Enable by default the Spring Boot environment instrumentation that infers the service name to the value of spring.application.name if the user did not provide any DD_SERVICE configuration.
Check #7029 for more details and how to revert it.

Components

Application Security Management (IAST)

Application Security Management (WAF)

Build & Tooling

Cloud Workload Security (CWS)

  • πŸ› Fix the cws tracer on systems using musl libc (like alpine) (#7066 - @spikat)

Configuration at Runtime

  • ⚑ Only rebuild tracer tags when the remote-config 'tracing_tags' change (#6996 - @mcculls)

Continuous Integration Visibility

Data Streams Monitoring

Database Monitoring

  • Apply configured service name mapping to DBM-injected dddbs (#7064 - @vandonr)

Dynamic Instrumentation

  • πŸ› Ensure locals are in scope when generating metrics (#7121 - @jpbempel)
  • Remove too generic redaction keywords (#7117 - @jpbempel)
  • πŸ› Fix line probe in method with inline lambdas (#7099 - @jpbempel)
  • Report exception when deserializing config (#7092 - @jpbempel)
  • Add option to limit number of frames captured (#7083 - @jpbempel)
  • Add circuit breaker for Exception Debugging (#7074 - @jpbempel)
  • πŸ› Fix short circuiting of boolean expressions (#7060 - @jpbempel)
  • Add EXCEPTION_REPLAY_ENABLED config token (#7054 - @jpbempel)
  • πŸ›βš‘ Fix perf issue when accessing fields by reflection (#7052 - @jpbempel)
  • ✨ Add Throwable capturing fields support for JDK16+ (#7047 - @jpbempel)
  • πŸ” Add fingerprint info into Tracer flare (#7043 - @jpbempel)
  • πŸ›βš‘ Fix expensive folding only in debug level (#7042 - @jpbempel)
  • Protect Map and Set accesses to be only in-memory (#7032 - @jpbempel)
  • Remove debug log on sampling (#7021 - @jpbempel)
  • πŸ› Fix support of literals in Expression Language (#7018 - @jpbempel)
  • Fix log level and message for SymDB extraction (#7016 - @jpbempel)
  • πŸ› Fix ArrayIndexOutOfBoundsException in adjustLocalVarsBasedOnArgs (#7013 - @jpbempel)
  • Filter out Errors for Exception Debugging (#6997 - @jpbempel)
  • Add support of Set in Expression Language (#6992 - @jpbempel)

GraalVM native-image

  • Relocate JCTools (#7004 - @luneo7 - thanks for the contribution!)

Metrics

  • Bump java-dogstatsd-client to 4.4.0 (fix potential file-descriptor leak) (#7089 - @mcculls)

OpenTracing

  • Add a TracingFactory (since opentracing-tracerresolver 0.1.5) which resolves our tracer (#7102 - @mcculls)
  • Bumps opentracing-tracerresolver to 0.1.6 (#7093 - @fedefernandez - thanks for the contribution!)

Profiling

Telemetry

  • Report updated trace.sampling.rules to telemetry (#7106 - @mcculls)
  • Enable telemetry logs for IAST, CI Visibility and Dynamic Instrumentation users (#7017 - @smola)
  • Adding support for reporting remote config id (#7012 - @stanistan)
  • ✨ Add log file if size is not too big (#6993 - @cecile75)

Trace context propagation

  • Encode the last seen Datadog span ID within tracestate (#7067 - @am312)

Tracer core

Instrumentations

AWS SDK instrumentation

Core Java language instrumentation

gRPC instrumentation

  • Extend gRPC context propagation into WriteQueue, add queue timing to WriteQueue commands (#7110 - @richardstartin)

JDBC instrumentation

  • Add extra connection params as tags for JDBC statements (#7055 - @kr-igor)

Kafka instrumentation

Micronaut instrumentation

Netty instrumentation

  • πŸ› Don't always finish parent span in Netty client (#7126 - @amarziali)

OpenTelemetry instrumentation

  • Ensure manually created OpenTelemetry spans are compliant with trace metrics (#7138 - @mcculls)
  • Support custom OpenTelemetry context (#7118 - @mcculls)
  • ⚑ Avoid creating unnecessary OtelSpanContext… (#7116 - @mcculls)
  • Track OpenTelemetry propagated context (#7114 - @mcculls)
  • Runtime drop-in support for OpenTelemetry instrumentations (#7086 - @mcculls)

Spring instrumentation

  • ⚠️ Enable spring boot service name detection from spring.application.name (#7029 - @amarziali)

Other changes

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

NewReleases is sending notifications on new releases.