github DataDog/dd-trace-py v1.1.0
1.1.0

latest releases: v2.9.2, v2.10.0rc2, v2.9.1...
2 years ago

New Features

  • Fixes deprecation warning for asyncio.coroutine decorator.

  • psycopg2: add option to enable tracing psycopg2.connect method.

    See our psycopg2 documentation for more information.

  • Add support to reuse HTTP connections when sending trace payloads to the agent. This feature is disabled by default. Set DD_TRACE_WRITER_REUSE_CONNECTIONS=true to enable this feature.

  • MySQLdb: Added optional tracing for MySQLdb.connect, using the configuration option here.

  • The profiler now supports profiling asyncio.Lock objects.

  • Add support for injecting and extracting B3 propagation headers.

    See DD_TRACE_PROPAGATION_STYLE_EXTRACT and DD_TRACE_PROPAGATION_STYLE_INJECT configuration documentation to enable.

Bug Fixes

  • botocore: omit SecretBinary and SecretString from span metadata for calls to Secrets Manager.

  • Fix issue building ddtrace for the Pyston Python implementation by not building the _memalloc extension anymore when using Pyston.

  • tracer.get_log_correlation_context(): use active context in addition to active span. Formerly just the span was used and this would break cross execution log correlation as a context object is used for the propagation.

  • opentracer: update set_tag and set_operation_name to return a reference to the span to match the OpenTracing spec.

  • The CPU profiler now reports the main thread CPU usage even when asyncio tasks are running.

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

NewReleases is sending notifications on new releases.