v0.46.0
Upgrade Notes
- elasticsearch: removed
get_traced_transport
method andddtrace.contrib.elasticsearch.transport
module. - The profiler will only load tags from the
DD_TAGS
environment variable once at start. - flask: Use HTTP Custom Error Codes instead of
ddtrace.config.flask['extra_error_codes']
.
New Features
- aiohttp: store request and response headers.
- bottle: store request and response headers.
- elasticsearch: add support for version 7.
- flask: store response headers.
- molten: store request headers.
- pyramid: store request and response headers.
- flask: store request and response headers when auto-instrumented.
- The
ddtrace.profiling.auto
module will warn users if gevent monkey patching is done after the profiler is auto-instrumented. - The
Profiler
object can now be passed tags with the tags keyword argument.
Bug Fixes
- dbapi: avoid type error with potential non-compliance in db libraries when setting tag for row count.
- django: add legacy resource format of
{handler}
. - grpc: fix wrapper for streaming response to support libraries that call an internal method directly.
- sanic: use path parameter names instead of parameter values for the resource.
- The profiler won't deadlock on fork when gevent monkey patch is enabled.
- requests: fix TracedSession when patches are not applied.