apm-agent-python

The official Python module for Elastic APM

BSD-3-CLAUSE License

Downloads
1.1M
Stars
410
Committers
203

Bot releases are hidden (Show)

apm-agent-python -

Published by beniwohli almost 4 years ago

Features

  • Implement "sample_rate" property for transactions and spans, and propagate through tracestate (#891)
  • Add support for callbacks on config changes (#912)
  • Override sys.excepthook to catch all exceptions (#943)
  • Implement log_level config (supports central config) (#946)
  • Implement transaction_ignore_urls config (supports central config) (#923)
  • Add public API to retrieve trace parent header (#956)
  • Added support for cgroup memory metrics (#846)

Bug fixes

  • Fix to collect the whole query body in elasticsearch-py (#940)
  • Fix for GraphQL transaction naming (#881)
  • Ensure that query string max length is maintained after sanitization (#968)
  • Adapted kubernetes kubepod regex for detecting kubernetes metadata (#958)
  • Updated Starlette integration to use the route as transaction name if possible (#957)
apm-agent-python - v5.9.0

Published by basepi about 4 years ago

Features

  • Add instrumentation support for httpx and httpcore (#898)
  • Implement "outcome" property for transactions and spans (#899)
  • Add support for asyncpg (#889)

Bug fixes

  • Fix validation of config to properly require required config items. (#927)
apm-agent-python - v5.8.1

Published by basepi over 4 years ago

Bugfixes

  • Updated CLOUD_PROVIDER config to allow for new options defined in #289 (#878)
  • Fixed a bug in AWS metadata collection on docker containers in AWS Elastic Beanstalk (#884)
  • Fixed a bug in local variable serialization that could occur in multi-threaded applications (#885)
apm-agent-python - v5.8.0

Published by basepi over 4 years ago

Features

  • Added graphql (graphene) support [#850]
  • Collect cloud provider metadata [#826]
  • Added sanitize_field_names config [#860]

Bug fixes

  • Fix header fetching for ASGI implementations [#856]
apm-agent-python - v5.7.0

Published by basepi over 4 years ago

Features

  • capture number of affected rows for INSERT/UPDATE/DELETE SQL queries (#614)
  • Added instrumentation for AsyncElasticsearch (#843)

Bug fixes

  • Added error handling around frame processing in Django (#837)
  • Limit SQL queries in context data to 10000 characters (#842)
  • Omit the "sync" property on spans by default (#854)
  • Update the pid/ppid in transport metadata when they change (#825)
  • Added better error handling around closing the transport (#838)
  • Fixed an issue with the django admin command not detecting misconfigured server urls (#855)
apm-agent-python - v5.6.0

Published by basepi over 4 years ago

New features

  • Added SERVICE_NODE_NAME config [#592]
  • Added instrumentation support for pymemcache [#812]
  • Added new configuration options enabled and recording [#790]

Bug fixes

  • Fixed an issue with metrics collection raising RuntimeErrors [#802]
  • Fixed an issue with getting extended destination data from pymongo [#797]
  • Fixed an issue with Tornado instrumentation when Tornado isn't the "main" framework [#813]
  • Fixed an issue with streaming requests being consumed by the agent even if capture_body is disabled [#817]

Pending Deprecations

  • Python 2.7 support will be dropped in version 6.0 of the agent.
apm-agent-python - v5.5.2

Published by beniwohli over 4 years ago

Bug fixes

  • Fixed an issue with Redis using unix domain sockets and destination information (#766)
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)
Package Rankings
Top 28.88% on Conda-forge.org
Top 1.63% on Pypi.org