github DataDog/dd-trace-java v0.52.0
0.52.0

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

Breaking Changes

  • Remove previously deprecated Continuation.close() methods and make Continuation static #1419
    • Use Continuation.cancel() instead

Improvements

  • [Performance] avoid materialising meta (baggage + tags) during serialisation #1472
  • [Performance] move batching to trace processor to ease memory buffer reuse #1454
  • [Community] Adding an option to manually disable Kafka headers #1448 (Thanks @shields478 for the contribution!)
  • Add version specific names to lettuce instrumentation to allow disabling only a specific version #1456
  • [Performance] Use byte[] keys in FormatWriter to save on hashmap lookups when the keys are constant #1455
  • [Performance] Reduce copy/allocation in trace serialization pipeline #1437, #1471
  • [Performance] Wrap log statements using varargs to avoid object allocation. #1466
  • Add Grizzly-HTTP, Grizzly HTTP Client, and ning Http Client instrumentations #1365
    • These instrumentations are disabled by default. Enable using:
      • System Properties:
        -Ddd.integration.grizzly-filterchain.enabled=true
        -Ddd.integration.grizzly-client.enabled=true
        -Ddd.integration.ning.enabled=true
      • Environment Variables:
        DD_INTEGRATION_GRIZZLY_FILTERCHAIN_ENABLED=true
        DD_INTEGRATION_GRIZZLY_CLIENT_ENABLED=true
        DD_INTEGRATION_NING_ENABLED=true

Changes

Fixes

  • [Bug] Fix NPE in HTTP Rule when span type is not set #1470
  • [Bug] Rename java packages for lettuce 4 and 5 to not have collisions #1450
  • Avoid double counting traces #1440
  • Prevent DDSpan.this escaping before constructor complete #1444

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

NewReleases is sending notifications on new releases.