Skip to content

Releases: elastic/apm-agent-python

v5.2.2

16 Oct 21:06
v5.2.2
4193d7d
Compare
Choose a tag to compare

Bugfixes

  • fixed an issue where a cpu_total of 0 could cause an exception (#610, #611)

v5.2.1

09 Oct 14:32
v5.2.1
e5a2e11
Compare
Choose a tag to compare

Bugfixes

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

v5.2.0

02 Oct 16:26
v5.2.0
514109f
Compare
Choose a tag to compare

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

02 Oct 16:25
v5.1.2
8c0f752
Compare
Choose a tag to compare

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

v5.1.1

22 Aug 13:20
v5.1.1
0cf05ff
Compare
Choose a tag to compare

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

22 Aug 13:20
v5.1.0
039d291
Compare
Choose a tag to compare

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)

v5.0.0

05 Aug 07:12
d495c27
Compare
Choose a tag to compare

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

11 Apr 06:55
b3b0ba4
Compare
Choose a tag to compare
  • 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 of threading.Timer (#452)
  • added license header check as pre-commit hook (#456)

v4.2.1

11 Apr 06:55
5bf5909
Compare
Choose a tag to compare
  • fixed an issue with the certificate pinning feature introduced in 4.2.0 (#433, #434)
  • fixed incompatibility with eventlet introduced in 4.2.0 (#435, #436)

v4.2.0

11 Apr 06:54
307a2d5
Compare
Choose a tag to compare
  • Implemented a new transport queue, which should avoid certain deadlock scenarios (#411)
  • Implemented server certificate pinning (#405)
  • Moved context.url to context.http.url for requests/urllib3 spans (#393, #394)
  • Added support for using route as transaction name in Django 2.2+ (#86, #396)
  • Added some randomness to time between requests to APM Server (#426)
  • Fixed an issue with custom user models in Django using non-string usernames (#397, #398)
  • Fixed an issue with sending kubernetes metadata to the API (#401, #402)
  • Fixed an issue with parsing /proc/stat in RHEL/centos 6 (#406, #407)
  • Added copyright header to all files, and a CI check (#429)