Skip to content

Releases: DataDog/dd-trace-java

1.30.0

15 Feb 17:46
d57f54b
Compare
Choose a tag to compare

Known Issues

  • This release contains two critical bugs that may break applications in the following cases:
    • Some Spring Boot applications.
    • Applications with ASM enabled (DD_APPSEC_ENABLED=true).
  • In both cases, it is strongly recommended to upgrade to v1.30.1 or later.

Components

Application Security Management (IAST)

Application Security Management (WAF)

Continuous Integration Visibility

Database Monitoring

  • Fix context store access with null key on DBM MySQL connection (#6616 - @mcculls)

Dynamic Instrumentation

  • ✨ Add class filtering and exception probe conditions (#6641 - @jpbempel)
  • ✨ Add instrumentation of exception stacktraces (#6609 - @jpbempel)

Profiling

Remote Configuration

  • 🐛 Fix remote config activation configuration name (#6642 - @PerfectSlayer)
  • Add target service+env check prior configuration activation (#6636 - @ygree)

Telemetry

Tracer core

Serverless

Instrumentations

Apache Spark instrumentation

JDBC instrumentation

  • Fix context store access with null key on DBM MySQL connection (#6616 - @mcculls)

All other instrumentations

1.30.0-RC1

12 Feb 16:15
f5119f8
Compare
Choose a tag to compare
1.30.0-RC1 Pre-release
Pre-release

Warning

This is a RELEASE CANDIDATE and is NOT intended for use in production.

Known Issues

  • This release contains two critical bugs that may break applications in the following cases:
    • Some Spring Boot applications.
    • Applications with ASM enabled (DD_APPSEC_ENABLED=true).
  • In both cases, it is strongly recommended to upgrade to v1.30.1 or later.

Components

Application Security Management (IAST)

Application Security Management (WAF)

  • 🧪 Exclude WAF timeout from telemetry logs (#6618 - @smola)
  • Add _dd.appsec.waf.timeouts tag (#6597 - @smola)

Database Monitoring

  • Fix context store access with null key on DBM MySQL connection (#6616 - @mcculls)

Dynamic Instrumentation

  • ✨ Add instrumentation of exception stacktraces (#6609 - @jpbempel)

Telemetry

Tracer core

  • ✨ Add scheduledWithFixedDelay method (#6587 - @jpbempel)
  • 🧹 Introduce concept of an InstrumenterGroup (#6575 - @mcculls)
  • 🐛 Fixes to trace agent service rates feedback - e.g. MAX TPS support (#6628 - @dougqh)
  • 🐛 Switching to case insensitive matching (#6613 - @dougqh)

Instrumentations

JDBC instrumentation

  • Fix context store access with null key on DBM MySQL connection (#6616 - @mcculls)

All other instrumentations

1.29.0

05 Feb 19:03
v1.29.0
c34fdea
Compare
Choose a tag to compare

Known Issues

  • This release contains a critical bug that may break some Spring Boot applications. It is strongly recommended to upgrade to v1.30.1 or later.

Components

Application Security Management (IAST)

Application Security Management (WAF)

  • 🐛 Trigger WAF request metrics only at end of request only (#6595 - @smola)
  • ✨ Configure API Security configuration via remote-config (#6340 - @ValentinZakharov)

Continuous Integration Visibility

Dynamic Instrumentation

GraalVM native-image

Profiling

Remote Configuration

  • Handle remote config 204 responses gracefully (#6576 - @smola)

Telemetry

  • 🧪 Do not send agent API errors to telemetry logs (#6605 - @smola)
  • Fix dependency resolution for nested JARs (#6603 - @smola)
  • Add Datadog-Entity-Id header (#6559 - @ygree)
  • 🧪 Improve content of redacted stacktraces in telemetry logs (#6557 - @smola)

Testing

Tracer core

  • Implement ScopedContext and Baggage API (#6608 - @mcculls)
  • ✨ Adding support for tag matching of non-String types (#6591 - @dougqh)
  • 🔍 Capture JVM arguments in tracer-flare (#6581 - @mcculls)
  • 🐛 Avoid NumberFormatException when logging 128bit trace ID (#6570 - @amarziali)
  • 🐛 Fix for missing ToJson annotation SamplingRules deserialization exception (#6548 - @ygree)
  • 🧹 Refactor how we apply custom transformers (#6541 - @mcculls)
  • 🔍 Add requested and completed times to flare_info.txt (#6531 - @mcculls)

Instrumentations

Apache Spark instrumentation

AWS SDK instrumentation

Jetty instrumentation

Kafka instrumentation

All other instrumentations

  • Mute tracing for subprocesses executed in by the tracer (#6584 - @smola)
  • Add aerospike 8 latestDepTests (#6543 - @amarziali)
  • ✨ Allow axis server span to set local root resource name (#6537 - @amarziali)
  • ✨ Add component and fix cmd.exit_code tag in subprocess instrumentation (#6502 - @smola)
  • Attach command execution spans to current span if it exists (#6481 - @smola)

1.28.0

23 Jan 21:37
fda2568
Compare
Choose a tag to compare

Components

Application Security Management (IAST)

Continuous Integration Visibility

Dynamic Instrumentation

Metrics

  • 🔍 Provide summary of JMXFetch for tracer-flare (#6439 - @mcculls)
  • 🔍 Tidy up tracer health metrics (#6438 - @mcculls)
  • Keep historical tracer health/span counts (#6426 - @mcculls)
  • 🔍 Add tracer health and span count summaries to tracer-flare (#6416 - @mcculls)

OpenTracing

Profiling

Telemetry

  • Improve telemetry log deduplication (#6525 - @smola)
  • Decouple telemetry logs from minimum log level (#6493 - @smola)
  • 🐛 Fix Telemetry App-Started event retry that prevents the application from exiting. (#6451 - @ygree)

Trace context propagation

  • Be consistent when checking if tasks are excluded from wrapping/injection (#6446 - @mcculls)

Tracer core

  • 🔍 Rename version.txt to tracer_version.txt in tracer-flare (#6532 - @mcculls)
  • 🔍 Update Java tracer flare name to be dd-java-flare-<runtimeId>-<currentTimeMillis>.zip (#6506 - @mcculls)
  • 🔍 Add thread-dump to tracer-flare when triage or debug mode is enabled (#6485 - @mcculls)
  • 🔍 Support delayed trigger of local triage report (#6479 - @mcculls)
  • 🔍 Add Instrumenter metrics to tracer-flare (#6472 - @mcculls)
  • 🧪 Introduce blackhole span (#6326 - @amarziali)

Instrumentations

Apache Spark instrumentation

JAX-RS instrumentation

  • 🐛 support PATCH and other custom jaxrs annotations (#6471 - @amarziali)

JMS instrumentation

  • Add auto-instrumentation for Message Driven Beans (#6216 - @am312)

Kafka instrumentation

  • Added messaging.kafka.bootstrap.servers to consume spans (#6327 - @kr-igor)

OpenTelemetry instrumentation

Trace annotations instrumentation

All other instrumentations

1.28.0-RC3

19 Jan 21:05
fcb4a55
Compare
Choose a tag to compare
1.28.0-RC3 Pre-release
Pre-release

Components

Application Security Management (IAST)

Continuous Integration Visibility

Dynamic Instrumentation

Metrics

  • 🔍 Provide summary of JMXFetch for tracer-flare (#6439 - @mcculls)
  • 🔍 Tidy up tracer health metrics (#6438 - @mcculls)
  • Keep historical tracer health/span counts (#6426 - @mcculls)
  • 🔍 Add tracer health and span count summaries to tracer-flare (#6416 - @mcculls)

OpenTracing

Profiling

Telemetry

  • Decouple telemetry logs from minimum log level (#6493 - @smola)
  • 🐛 Fix Telemetry App-Started event retry that prevents the application from exiting. (#6451 - @ygree)

Trace context propagation

  • Be consistent when checking if tasks are excluded from wrapping/injection (#6446 - @mcculls)

Tracer core

  • 🔍 Update Java tracer flare name to be dd-java-flare-<runtimeId>-<currentTimeMillis>.zip (#6506 - @mcculls)
  • 🔍 Add thread-dump to tracer-flare when triage or debug mode is enabled (#6485 - @mcculls)
  • 🔍 Support delayed trigger of local triage report (#6479 - @mcculls)
  • 🔍 Add Instrumenter metrics to tracer-flare (#6472 - @mcculls)
  • 🧪 R&D week: blackhole span (#6326 - @amarziali)

Tracer public API

Instrumentations

Apache Spark instrumentation

AWS SDK instrumentation

JAX-RS instrumentation

  • 🐛 support PATCH and other custom jaxrs annotations (#6471 - @amarziali)

JMS instrumentation

  • Add auto-instrumentation for Message Driven Beans (#6216 - @am312)

Kafka instrumentation

  • Added messaging.kafka.bootstrap.servers to consume spans (#6327 - @kr-igor)

OpenTelemetry instrumentation

Trace annotations instrumentation

All other instrumentations

Other changes

  • Revert "Log object key name to spans for AWS s3" (#6529 - @bm1549)

1.28.0-RC2

19 Jan 15:57
96ca2a7
Compare
Choose a tag to compare
1.28.0-RC2 Pre-release
Pre-release

Components

Application Security Management (IAST)

Continuous Integration Visibility

Dynamic Instrumentation

Metrics

  • 🔍 Provide summary of JMXFetch for tracer-flare (#6439 - @mcculls)
  • 🔍 Tidy up tracer health metrics (#6438 - @mcculls)
  • Keep historical tracer health/span counts (#6426 - @mcculls)
  • 🔍 Add tracer health and span count summaries to tracer-flare (#6416 - @mcculls)

OpenTracing

Profiling

Telemetry

  • Decouple telemetry logs from minimum log level (#6493 - @smola)
  • 🐛 Fix Telemetry App-Started event retry that prevents the application from exiting. (#6451 - @ygree)

Trace context propagation

  • Be consistent when checking if tasks are excluded from wrapping/injection (#6446 - @mcculls)

Tracer core

  • 🔍 Update Java tracer flare name to be dd-java-flare-<runtimeId>-<currentTimeMillis>.zip (#6506 - @mcculls)
  • 🔍 Add thread-dump to tracer-flare when triage or debug mode is enabled (#6485 - @mcculls)
  • 🔍 Support delayed trigger of local triage report (#6479 - @mcculls)
  • 🔍 Add Instrumenter metrics to tracer-flare (#6472 - @mcculls)
  • 🧪 R&D week: blackhole span (#6326 - @amarziali)

Tracer public API

Instrumentations

Apache Spark instrumentation

AWS SDK instrumentation

JAX-RS instrumentation

  • 🐛 support PATCH and other custom jaxrs annotations (#6471 - @amarziali)

JMS instrumentation

  • Add auto-instrumentation for Message Driven Beans (#6216 - @am312)

Kafka instrumentation

  • Added messaging.kafka.bootstrap.servers to consume spans (#6327 - @kr-igor)

OpenTelemetry instrumentation

Trace annotations instrumentation

All other instrumentations

1.27.0

03 Jan 16:00
v1.27.0
b9ad8e5
Compare
Choose a tag to compare

Components

Application Security Management (IAST)

Continuous Integration Visibility

Data Streams Monitoring

Database Monitoring

  • 🐛 Fix context store access with null key on DBM connection (#6400 - @amarziali)

Dynamic Instrumentation

Metrics

Profiling

  • Add a number of 'new' JFR events to be enabled by default (#6430 - @jbachorik)
  • Capture the SELinux status as a profiler setting event (#6414 - @jbachorik)
  • Auto-generate native-image argument to enable JFR when profiling enabled (#6369 - @jbachorik)

Telemetry

  • Include dynamic_instrumentation product into the app_started telemetry event (#6422 - @ygree)
  • Add install_signature to app-started (#6418 - @ygree)

Tracer core

Instrumentations

JDBC instrumentation

  • 🐛 Fix context store access with null key on DBM connection (#6400 - @amarziali)

OpenTelemetry instrumentation

  • ✨ Use OpenTelemetry SDK context key instead of Datadog proprietary one for local root span (#6399 - @PerfectSlayer)

All other instrumentations

  • Add instrumentation to allow sending kafka payload size on produce (#6228 - @vandonr)

Other changes

1.26.1

20 Dec 14:59
60e0d4d
Compare
Choose a tag to compare

Components

Continuous Integration Visibility

Trace context propagation

Instrumentations

1.26.0

19 Dec 10:59
ad2dbbf
Compare
Choose a tag to compare

Potentially Breaking Changes

Warning

Allow comma in request header tag values (#6376 - @bantonsson)

Components

Application Security Management (IAST)

Application Security Management (WAF)

  • Update ASM event rules to v1.10.0 (#6349 - @smola)
  • Remove warning about unknown graphql.server.all_resolvers (#6344 - @smola)

Continuous Integration Visibility

Crash tracking

Data Streams Monitoring

Database Monitoring

  • 🐛 Append DBM trace context comments for SQL Server & Postgres (#6214 - @jmeunier28)

Dynamic Instrumentation

GraalVM native-image

Profiling

Trace context propagation

Tracer core

Instrumentations

Apache Spark instrumentation

Armeria Instrumentation

JAX-RS instrumentation

  • 🐛 Make propagation happen on AsyncResponse using CFX JAX-RS (#6313 - @amarziali)

Spring instrumentation

  • 🐛 Exclude spring-kafka runnables from spring scheduling wrapping (#6388 - @amarziali)
  • 🐛 Make webflux compatible with latest spring 6 (#6352 - @amarziali)

Eclipse Vert.x instrumentation

Other changes

  • 🔍 Populate tracer-flare zip with configuration details (#6359 - @mcculls)

1.25.1

07 Dec 00:56
v1.25.1
476c346
Compare
Choose a tag to compare

Note

There will be no 1.25.0 release

Components

Application Security Management (IAST)

Application Security Management (WAF)

  • 🐛 Exclude OAuth from Spring Security instrumentation (#6278 - @smola)
  • 🐛 Fix race in Spring Security instrumentation (hideUserNotFoundExceptions) (#6277 - @smola)

Build & Tooling

Continuous Integration Visibility

Data Streams Monitoring

Database Monitoring

  • Disable DBM full propagation for oracle & sql server (#6117 - @vandonr)

Dynamic Instrumentation

GraalVM native-image

  • Support profiler in graalvm native image applications (#6145 - @jbachorik)
  • 📖 Add GraalVM native image build instructions (#6265 - @ygree)

Profiling

Remote Configuration

Telemetry

Tracer core

  • Add new sampling rules criteria and support for dynamic config (#5164 - @PerfectSlayer)
  • Adds resource name matching to the trace sampling rules (#5900 - @dougqh)

Tracer internal logging

Instrumentations

AWS Lambda instrumentation

Netty instrumentation

  • 🐛 Add support for netty-reactor http2 client/server (#6226 - @amarziali)

OpenTelemetry instrumentation

  • 🐛⚠️ Store OpenTelemetry span kind as tag instead of span type and drop reserved attributes from span tags (#6239 - @PerfectSlayer)

Reactor instrumentation

  • 🐛 Add support for netty-reactor http2 client/server (#6226 - @amarziali)

Spring instrumentation

  • 🐛 Spring scheduling: have actuator display the right task class name (#6249 - @amarziali)

All other instrumentations

Other changes

  • Upgrade jnr-unixsocket to 0.38.21, jnr-posix to 3.1.18 (#6266 - @mcculls)
  • 🔍 Configuration changes to support triage mode (#6262 - @mcculls)