Releases: elastic/apm-agent-python
Releases · elastic/apm-agent-python
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
logging
filter and record factory for adding transaction, trace, and span IDs (#520, #586) - added
structlog
processor 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
structlog
for agent logging (#591)
Bugfixes
- drop events immediately if a processor returns a falsy value (#585)
v5.1.2
v5.1.1
Bugfixes
- fixed an issue with empty responses from APM Server's config endpoint (#562, #563)
- fixed Windows tests by avoiding time.sleep in breakdown metrics tests (#537, #550)
- fixed container ID matching to match CloudFoundry Garden container IDs (#523, #564)
- fixed an issue in the urllib instrumentation if no port is set (#567)
Other
- Added Python 3.8 RC to the test matrix (#565)
v5.1.0
Security issues
- This release fixes CVE-2019-7617 (only relevant if your deployment uses CGI)
New Features
- added support for global labels which will be applied to every transaction/error/metric (#549)
- added support for
NO_PROXY
environment variable (#458, #551)
Bugfixes
v5.0.0
Breaking changes
- implemented type/subtype/action hierachy for spans. Ensure that you run at least APM Server 6.6 (#377)
- renamed tags to labels and changed API. The old API remains for backwards compatibility until 6.0 of the agent (#538)
Other changes
- Added support for recording breakdown metrics (#535)
- Added support for central config management (#511)
- Added instrumentation for
urllib2
(Python 2) /urllib.request
(Python 3) (#464) - Added
disable_metrics
setting (#399) - Updated elasticsearch instrumentation for 7.x (#482, #483)
- Fixed an issue with opentracing-python 2.1 (#471)
- Fixed an issue with certificate pinning (#497)
- Lowered log level of transport success messages (#527, #531)
v4.2.2
- fixed an issue with Celery and the prefork worker pool (#444)
- fixed an issue when running uwsgi without a master process (#446)
- fixed an issue with gevent/eventlet on Python 3.7 (#451, #454)
- introduced
IntervalTimer
and use it instead ofthreading.Timer
(#452) - added license header check as pre-commit hook (#456)