Skip to content

Releases: elastic/apm-agent-python

v5.4.0

18 Feb 09:43
v5.4.0
6e82a8f

Choose a tag to compare

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 traceparent and tracestate headers (#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

14 Jan 09:46
v5.3.3
7b0b55c

Choose a tag to compare

Bugfixes

  • Fixed an issue with OpenTracing bridge and dropped spans (#687)
  • Fixed bug that would make the agent ignore the hostname configuration setting (#689)

v5.3.2

25 Nov 11:05
v5.3.2
5122c99

Choose a tag to compare

Bug fixes

  • Added support for IPv6 address format when parsing urls (#649)

v5.3.1

18 Nov 18:17
v5.3.1
5f5eeae

Choose a tag to compare

New Features

  • Added support for shortening dicts in local variables #638

v5.3.0

14 Nov 20:33
v5.3.0
0efdaea

Choose a tag to compare

New Features

  • added instrumentation for mysql-connector and pymysql (#603)
  • implemented stack_trace_limit configuration option (#623)
  • autoinsert tracing middleware in django settings (#625)

Bugfixes

  • fixed issue with transactions not being captured when errors occur in Flask (#635)

v5.2.3

13 Nov 10:48
v5.2.3
369c9eb

Choose a tag to compare

Bugfixes

  • ensure that metrics with value 0 are not collected if they have the reset_on_collect flag set (#615)
  • unwrap postgres cursor for newly introduced psycopg2 extensions (#621)
  • fix pod ID for kubernetes when using the systemd cgroup driver (#631)

v5.2.2

16 Oct 21:06
v5.2.2
4193d7d

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

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

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

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