github DataDog/dd-trace-java v0.8.0
0.8.0

latest releases: v1.42.2, v1.42.1, v1.42.0...
6 years ago

Improvements

  • Enabled the following instrumentation by default
    • Java Executor Service (#295)
      • Caveat: you still need to manually toggle it in your custom instrumentation.
        ((TraceScope) scope).setAsyncPropagation(true);
      • Some frameworks (servlets and jms message listeners) have this flag toggled automatically (#316)
  • Dynamically rename services via configuration (#314)
    • Useful for making databases have distinct names across different services.
    • Configure mapping as follows:
      • System property: dd.service.mapping=mysql:my-service-db,cassandra:my-service-cassandra
      • Environment variable: DD_SERVICE_MAPPING=mysql:my-service-db,cassandra:my-service-cassandra
  • Automatically set service name based on servlet context (war file name) if not already configured or configured, but empty. (#320)
  • Improved instrumentation for AWS client: (#299)
    • This includes a change to the resource name.
  • Automatically detect non-Datadog @Trace annotations (#311)
    • List of annotations can be replaced (or disabled with an empty list) using the following setting:
      • System property: dd.trace.annotations=com.some.Trace;io.other.Trace
      • Environment variable: DD_TRACE_ANNOTATIONS=com.some.Trace;io.other.Trace
  • Configure additional methods to be traced without code change: (#311)
    • System property: dd.trace.methods=package.ClassName[method1,method2,...];AnonymousClass$1[call]
    • Environment variable: DD_TRACE_METHODS=package.ClassName[method1,method2];AnonymousClass$1[call]
  • Automatically set a configured header value as a span tag (#317)
    • System property: dd.trace.header.tags=CASE-insensitive-Header:my-tag-name,User-ID:userId
    • Environment variable: DD_TRACE_HEADER_TAGS=CASE-insensitive-Header:my-tag-name,User-ID:userId
  • Improve naming for @Trace generated spans on methods inside anonymous classes: now includes more class name. (#303)
  • Upgraded to Byte Buddy 1.8.8 (#293)
  • Remove guava dependency for dd-trace-ot (#307)

New Instrumentation (disabled by default)

  • Hystrix (#306)
    • System property: dd.integration.hystrix.enabled=true
    • Environment variable: DD_INTEGRATION_HYSTRIX_ENABLED=true

Bugfixes

  • Fixed Ratpack instrumentation -- still need to manually enable it (#301) (Thanks @jonmort!)
  • Minor Kafka instrumentation change to reduce chance of breaking (#297)
  • Prevent nested JDBC spans (#302)

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

NewReleases is sending notifications on new releases.