Deprecation Notes
- `ddtrace.sampler.DatadogSampler.default_sampler` property is deprecated and will be removed in 1.0.
- `ddtrace.propagation.utils` has been deprecated and will be removed in version 1.0.
New Features
- Add new environment variables to enable/disable django database and cache instrumentation.
`DD_DJANGO_INSTRUMENT_DATABASES`, `DD_DJANGO_INSTRUMENT_CACHES`
- Add tracing support for the `aioredis` library. Version 1.3+ is fully supported.
- Add django 4.0 support.
- The profiler now automatically injects running greenlets as tasks into the main thread. They can be seen within the wall time profiles.
Bug Fixes
- The thread safety of the custom buffered encoder was fixed in order to eliminate a potential cause of decoding errors of trace payloads (missing trace data) in the agent.
- Fix handling of Python exceptions during trace encoding. The tracer will no longer silently fail to encode invalid span data and instead log an exception.
- Fix error when calling `concurrent.futures.ThreadPoolExecutor.submit` with `fn` keyword argument.
- Configure a writer thread in a child process after forking based on writer configuration from its parent process.
- Only for CI Visibility (`pytest` integration): Fix calculation of pipeline URL for GitHub Actions.
---