apm-agent-python

The official Python module for Elastic APM

BSD-3-CLAUSE License

Downloads
1.1M
Stars
410
Committers
203

Bot releases are visible (Hide)

apm-agent-python - v5.5.1

Published by basepi over 4 years ago

Bug fixes

  • Fixed Starlette middleware when capturing request body while the content-type header is absent (#763)
apm-agent-python - v5.5.0

Published by basepi over 4 years ago

Features

  • Added destination information to database/HTTP spans, used for service maps (#618)

Deprecations

  • Python 3.4 is no longer supported.
apm-agent-python - v5.4.3

Published by basepi over 4 years ago

Bug fixes

  • fixed a bug in our aiohttp.client support if used with a yarl URL (#733)
apm-agent-python - v5.4.1

Published by basepi over 4 years ago

Bug fixes

  • fixed an issue with a DEBUG log message raising an error in some cases (#722)
apm-agent-python - v5.4.2

Published by basepi over 4 years ago

Bug fixes

  • fixed a bug in our celery implementation related to the threading refactor in 5.4.0 (#724)
apm-agent-python - v5.4.0

Published by beniwohli over 4 years ago

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)
apm-agent-python - v5.3.3

Published by beniwohli almost 5 years ago

Bugfixes

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

Published by beniwohli almost 5 years ago

Bug fixes

  • Added support for IPv6 address format when parsing urls (#649)
apm-agent-python - v5.3.1

Published by basepi almost 5 years ago

New Features

  • Added support for shortening dicts in local variables #638
apm-agent-python - v5.3.0

Published by basepi almost 5 years ago

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)
apm-agent-python - v5.2.3

Published by beniwohli almost 5 years ago

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)
apm-agent-python - v5.2.2

Published by basepi about 5 years ago

Bugfixes

  • fixed an issue where a cpu_total of 0 could cause an exception (#610, #611)
apm-agent-python - v5.2.1

Published by beniwohli about 5 years ago

Bugfixes

  • fixed an issue with DroppedSpans and logging integration (#602)
  • fixed an issue with processors not being applied to chained exceptions (#604)
apm-agent-python - v5.2.0

Published by basepi about 5 years ago

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)
apm-agent-python - v5.1.2

Published by basepi about 5 years ago

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
apm-agent-python - v5.1.1

Published by beniwohli about 5 years ago

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)
apm-agent-python - v5.1.0

Published by beniwohli about 5 years ago

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)
apm-agent-python - v5.0.0

Published by beniwohli about 5 years ago

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)
apm-agent-python - v4.2.2

Published by beniwohli over 5 years ago

  • 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)
apm-agent-python - v4.2.1

Published by beniwohli over 5 years ago

  • 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)
Package Rankings
Top 28.88% on Conda-forge.org
Top 1.63% on Pypi.org