Releases: elastic/apm-agent-python
Releases · elastic/apm-agent-python
v5.4.1
v5.4.0
Deprecations
This will be the last minor release to support the following versions:
- Python 3.4
- Django 1.8, 1.9 and 1.10
- Flask < 1.0
In addition, as of this release we only supported capturing extended
information on Elasticsearch queries when using keyword arguments with the
elasticsearch-py API. This is in keeping with the
upstream policy (https://elasticsearch-py.readthedocs.io/en/master/api.html#api-documentation)
of positional arguments being unsupported. (#697)
New Features
- Refactored spawning of background threads (#636)
- Added support for aiohttp client and server (#659)
- Added support for tornado web framework (#661)
- Added support for starlette/fastapi (#694)
- Added support for W3C
traceparentandtracestateheaders (#660) - Added Django 3.0 and Flask 1.1 to the support matrix (#667)
- Added support for aiopg (#668)
- Use Span ID as parent ID in errors if an error happens inside a span (#669)
- Added experimental support for API Key authentication (#679)
Bug fixes
- introduced workaround to avoid instrumenting twice in rare cases (#708)
v5.3.3
v5.3.2
v5.3.1
v5.3.0
v5.2.3
v5.2.2
v5.2.1
v5.2.0
New Features
- added automatic tagging of LogRecord objects with transaction, trace, and span IDs via a LogRecordFactory (Python 3.2+) (#520, #586)
- added
loggingfilter and record factory for adding transaction, trace, and span IDs (#520, #586) - added
structlogprocessor for adding transaction, trace, and span IDs (#520, #586) - added new public API calls for getting transaction, trace, and span IDs (#520, #586)
- added support for chained exceptions in Python 3 (#596).
Note that chained exceptions will be captured and stored in Elasticsearch, but not yet
visualized in the APM UI. The UI component will be released in an upcoming Kibana release (7.5 or later). - added support for using
structlogfor agent logging (#591)
Bugfixes
- drop events immediately if a processor returns a falsy value (#585)