Elastic-apm

Latest version: v6.23.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 17

5.2.1

Bugfixes
* fixed an issue with DroppedSpans and logging integration (602)
* fixed an issue with processors not being applied to chained exceptions (604)

5.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)

5.1.2

Bugfixes

* fixed an issue with http server_url and `'VERIFY_SERVER_CERT': False` (570, 578)
* fixed instrumenting of psycopg2 when using their context manager interface (577, 580)
* fixed zerorpc tests (581)
* fixed to correctly check if gevent has patched threading.local (579

5.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)

5.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

* fixed an issue with using callables in set_context with unsampled transactions (541, 542)
* limited the length of error.culprit to 1024 characters (491, 543)
* fixed an issue with the `instrument` config option (546, 547)
* limited the amount of distinct metrics to 1000 (540, 544)

5.0.0

Not secure
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)

Page 13 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.