Skip to content

Releases: DataDog/dd-trace-java

1.56.2

08 Dec 21:15
v1.56.2
cf52dcd

Choose a tag to compare

Components

Data Streams Monitoring

Instrumentations

Kafka instrumentation

1.56.1

25 Nov 13:26
v1.56.1
b8849a9

Choose a tag to compare

Components

Dynamic Instrumentation

1.56.0

20 Nov 14:13
v1.56.0
c05874d

Choose a tag to compare

Known Bugs

Note

If you are experiencing issues with NegativeArraySizeException or JVM crashes, please update to the latest version or disable the CodeOrigin feature using the DD_CODE_ORIGIN_FOR_SPANS_ENABLED=false environment variable or the -Ddd.code.origin.for.spans.enabled=false Java properties.

Components

Application Security Management (WAF)

Build & Tooling

Configuration

Continuous Integration Visibility

Crash tracking

Data Streams Monitoring

Database Monitoring

  • ✨⚡ Migrate JDBC instrumentation to singleSpanBuilder (#9927 - @dougqh)
  • 🐛 Fix JDBC's SQLCommenter not taking into account semicolons (#9915 - @na-ji)

Dynamic Instrumentation

ML Observability (LLMObs)

Metrics

  • 🐛 Fix npe on ConflatingMetricsAggregator when the resource is null (#9909 - @amarziali)

OpenFeature

Platform

Profiling

  • ✨ Provide a safe default stackwalker for non-hotspot JVMs (#9930 - @jbachorik)
  • 🐛 Apply critical patch for ddprof dependency. (#9920 - @jbachorik)

Tracer core

  • ✨⚡ Fix oversight with one overload of startSpan not using singleSpanBuilder (#9995 - @dougqh)
  • ✨⚡ Use ClassFile parser when pre-loading class hierarchies (#9969 - @mcculls)
  • ✨ Bump dd-instrument-java to v0.0.3 (#9967 - @mcculls)
  • ✨ Add process tags to agent statsd client (#9904 - @amarziali)
  • ✨⚡ Add feature-flag to enable instrumentation-based class injection (#9901 - @mcculls)
  • ✨⚡ Add feature-flag to enable optimized class parsing (#9894 - @mcculls)

Instrumentations

Apache Spark instrumentation

Couchbase

  • ✨⚡ Reuse SpanBuilder in Couchbase Client (#9936 - @dougqh)

Kafka instrumentation

OpenTelemetry instrumentation

  • 💡 Support propagating OTel API created baggage via outgoing W3C headers (#9987 - @mcculls)
  • 💡 Support using the OpenTelemetry API to interact with automatic W3C baggage (#9982 - @mcculls)
  • ✨ In opentelemetry's WithSpan integration, reuse SpanBuilders (#9933 - @dougqh)

Serverless

1.55.0

04 Nov 16:08
v1.55.0
364bb8b

Choose a tag to compare

Components

Application Security Management (IAST)

Application Security Management (WAF)

Build & Tooling

  • 🧹 Make akka-http-10.6 module optional to simplify local build. See BUILDING.md for akka token configuration. (#9767 - @AlexeyKuznetsov-DD)

Continuous Integration Visibility

Crash tracking

Data Streams Monitoring

  • ✨ Add Data Streams Monitoring support for IBM MQ in JMS/Jakarta Messaging (#9768 - @roisinlh)

Database Monitoring

  • ✨ Add option to JDBC instrumentation to always append DBM comment (#9798 - @na-ji)

Dynamic Instrumentation

JMX fetch

ML Observability (LLMObs)

Metrics

Profiling

Tracer core

Tracer public API

  • ✨ Migrate querying of environment variables to ConfigHelper (#9620 - @mhlidd)
  • ✨📖 Implement Config Inversion with default strictness of Warning (#9539 - @mhlidd)

Instrumentations

Apache Spark instrumentation

  • 🐛 Fix muzzle mismatch causing Spark jobs on Databricks 17.3 to not be instrumented (#9872 - @aboitreaud)
  • ✨ Extract SparkPlan product and append to trace (#9783 - @charlesmyu)

JDBC instrumentation

  • 🐛 Avoid NPE while accessing JDBC metadata URL (#9815 - @amarziali)
  • ✨ Add option to JDBC instrumentation to always append DBM comment (#9798 - @na-ji)
  • 🐛 Fix generic url parsing in JDBC instrumentation (#9777 - @vandonr)

OpenTelemetry instrumentation

  • 🐛 Fix OpenTelemetry span events (#9864 - @ValentinZakharov)
  • 🐛 Normalize behavior of OTel spans created from custom instrumentation and trace annotations (#9759 - @mhlidd)
  • ✨ Avoid allocating a tracing context when not fully extracted (#9693 - @amarziali)

All other instrumentations

1.54.0

06 Oct 15:24
v1.54.0
20dac8a

Choose a tag to compare

Components

Application Security Management (WAF)

Configuration at Runtime

  • ✨ Add support for org level APM_TRACING configs (#9360 - @shatzi)

Continuous Integration Visibility

Crash tracking

  • 🐛 Properly handle user provided crash/oome script paths (#9496 - @jbachorik)

Dynamic Instrumentation

  • ✨ Fix Exception Probes to not emit any probe status (#9669 - @jpbempel)
  • ✨ Stream the SymDB serialization and compression (#9642 - @jpbempel)
  • ✨ Add CompletableFuture in WellKnownClasses (#9622 - @jpbempel)
  • 🐛 Fix symbol extraction for interface static method (#9597 - @jpbempel)
  • 🐛 Allow pre-Java 6 classes to be transformed in the debugger (#9591 - @deejgregor - thanks for the contribution!)
  • 🐛 Disable exit spans (#9581 - @jpbempel)
  • ✨ Prevent using v1/input endpoint for snapshots (#9573 - @jpbempel)
  • 🐛 Fix error logged for Bridge methods (#9504 - @jpbempel)
  • ✨ Send only snapshots to Debugger Track (#9501 - @jpbempel)
  • ✨ Add support debugger/v2/input endpoint (#9406 - @shatzi)

GraalVM native-image

Library Injection

ML Observability (LLMObs)

Metrics

  • ✨⚡ Defer metrics aggregator classloading to save startup time (#9590 - @amarziali)
  • 🐛 Lazily obtain feature discovery when starting client metrics (#9548 - @amarziali)
  • ✨ Exclude long running partial versions from stats (#9495 - @amarziali)
  • 🐛 Avoid direct casting of base service tag to string (#9489 - @amarziali)
  • 💡🧪 Activate client stats by default for java 17 services (#9463 - @amarziali)

Platform components

Profiling

Realtime User Monitoring

Telemetry

  • 🐛 Error Logs Remediation 2 (#9467 - @ygree)
  • ✨ ConfigProvider iterates over all sources and reports all non-null values to telemetry (#9404 - @mtoffl01)

Testing

Tracer core

Tracer public API

Instrumentations

Apache Spark instrumentation

Core Java language instrumentation

JDBC instrumentation

  • ✨ Add a span when waiting for an available database connection from a pool (#9251 #9636 - @deejgregor - thanks for the contribution!)

Kotlin instrumentation

  • 🐛 Improve thread-safety of ScopeContext.restore when swapping Kotlin coroutine contexts (#9491 - @mcculls)

All other instrumentations

1.53.0

04 Sep 10:10
v1.53.0
526075f

Choose a tag to compare

Components

Application Security Management (WAF)

Build & Tooling

Continuous Integration Visibility

Data Streams Monitoring

  • ✨ Create container hash tags propagation (#9282 - @ygree)

Database Monitoring

  • 🐛 Prevent crash in SQL Server's JDBC when tracing execute methods with generated keys (#9321 - @na-ji)
  • ✨ Create container hash tags propagation (#9282 - @ygree)

GraalVM native-image

  • 🐛 Update GraalVM config to reflect TempLocationManager's new package (#9337 - @luneo7 - thanks for the contribution!)

Metrics

Profiling

  • ✨ Create a profile flare reporter (requires tracing or CI vis to be enabled) (#9433 - @MattAlp)
  • 🐛 Properly fall-back on UDS profiling URL (#9401 - @jbachorik)
  • 🐛 Properly handle trace agent IPv6 URL in profiling (#9334 - @jbachorik)

Realtime User Monitoring

Telemetry

Trace context propagation

Tracer core

  • 💡🧪 Enable process level tags for java 21 applications (#9458 - @amarziali)
  • ✨ Move base and peer service adder before span is published (#9408 - @amarziali)
  • ✨ Add ErrorPriorities level for manual instrumentation (#9387 - @cecile75)
  • ✨ Throw InvalidBooleanValueException in ConfigConverter.booleanValueOf (#9370 - @mtoffl01)
  • 🐛 Avoid NPE on featureDiscovery creation (#9353 - @amarziali)
  • ✨ Stable Config improvements (#9259 - @mtoffl01)

Instrumentations

gRPC instrumentation

  • 🐛 Changing GRPC instrumentation codes from status.code to grpc.status.code (#9367 - @mhlidd)

JDBC instrumentation

  • 🐛 Prevent crash in SQL Server's JDBC when tracing execute methods with generated keys (#9321 - @na-ji)

Kotlin instrumentation

  • 🐛 Take defensive copy of original scope stack when restoring on different thread (#9403 - @mcculls)

OpenTelemetry instrumentation

  • 🐛 Fix using SpanAttribute annotation on multiple parameters (#9412 - @cecile75)

1.52.1

14 Aug 15:27
6b6db17

Choose a tag to compare

Components

Application Security Management (WAF)

Continuous Integration Visibility

GraalVM native-image

  • 🐛 Update GraalVM config to reflect TempLocationManager's new package (#9338 - @luneo7 - thanks for the contribution!)

Profiling

  • 🐛 Properly handle trace agent IPv6 URL in profiling (#9339 - @jbachorik)

Realtime User Monitoring

  • ✨ Support async servlet for RUM injection (#9343 - @amarziali)
  • 🐛 Improve RUM injection matching and avoid truncating responses (#9342 - @amarziali)
  • ✨ Make rum injector stream/writer more resilient to errors (#9340 - @amarziali)

Tracer core

1.52.0

04 Aug 16:37
v1.52.0
d7684b9

Choose a tag to compare

Components

Application Security Management (WAF)

Build & Tooling

  • ✨📖 Automatically register crashtracking via native extensions (#8851 - @MattAlp)

Configuration at Runtime

Continuous Integration Visibility

Crash tracking

  • ✨📖 Automatically register crashtracking via native extensions (#8851 - @MattAlp)

Data Streams Monitoring

Database Monitoring

  • 🐛 Fix duplicate trace injection for SQL Server and Oracle DBM full propagation mode (#9224 - @lu-zhengda)

Dynamic Instrumentation

ML Observability (LLMObs)

Metrics

Platform components

Profiling

Realtime User Monitoring

  • ✨ Wrap servlet original PrintWriter on rum injector (#9146 - @amarziali)

Telemetry

Tracer core

Instrumentations

AWS SDK instrumentation

gRPC instrumentation

  • 🐛 Add check to prevent injection of repeated GRPC headers (#9246 - @mhlidd)

JDBC instrumentation

  • 🐛 Fix duplicate trace injection for SQL Server and Oracle DBM full propagation mode (#9224 - @lu-zhengda)

Play Framework instrumentation

1.51.2

22 Jul 19:49
v1.51.2
d5ad1fe

Choose a tag to compare

Components

Tracer core

  • 🐛 Match Hands Off Config selectors on process_arguments value (#9223 - @mtoffl01)

1.51.1

15 Jul 18:08
v1.51.1
ce41a21

Choose a tag to compare

Components

Application Security Management (WAF)

Tracer core