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 - v6.3.2

Published by basepi over 3 years ago

Bug fixes

  • Fix handling of non-http scopes in Starlette/FastAPI middleware [#1187]
apm-agent-python - v6.3.1

Published by beniwohli over 3 years ago

Bug fixes

  • Fix issue with Starlette/FastAPI hanging on startup (#1185)
apm-agent-python - v6.3.0

Published by basepi over 3 years ago

Features

  • Add additional context information about elasticsearch client requests [#1108]
  • Add use_certifi config option to allow users to disable certifi [#1163]

Bug fixes

  • Fix for Starlette 0.15.0 error collection [#1174]
  • Fix for Starlette static files [#1137]
apm-agent-python - v6.2.3

Published by basepi over 3 years ago

Bugfixes

  • suppress the default_app_config attribute in Django 3.2+ [#1155]
  • bump log level for multiple set_client calls to WARNING [#1164]
  • fix issue with adding disttracing to SQS messages when dropping spans [#1170]
apm-agent-python - v6.2.2

Published by beniwohli over 3 years ago

Bug fixes

  • Fix an attribute access bug introduced in 6.2.0 (#1149)
apm-agent-python - v6.2.1

Published by beniwohli over 3 years ago

Bugfixes

  • catch and log exceptions in interval timer threads (#1145)
apm-agent-python - v6.2.0

Published by beniwohli over 3 years ago

Features

  • Added support for aioredis 1.x (#1082)
  • Added support for aiomysql (#1107)
  • Added Redis pub/sub instrumentation (#1129)
  • Added specific instrumentation for AWS SQS (#1123)

Bug fixes

  • ensure metrics are flushed before agent shutdown (#1139)
  • added safeguard for exceptions in processors (#1138)
  • ensure sockets are closed which were opened for cloud environment detection (#1134)
apm-agent-python - v6.1.3

Published by beniwohli over 3 years ago

Bug fixes

  • added destination information to asyncpg instrumentation (#1115)
  • fixed issue with collecting request meta data with Django REST Framework (#1117)
  • fixed httpx instrumentation for newly released httpx 0.18.0 (#1118)
apm-agent-python - v6.1.2

Published by beniwohli over 3 years ago

Bug fixes

  • fixed issue with empty transaction name for the root route with Django (#1095)
  • fixed on-the-fly initialisation of Flask apps (#1099)
apm-agent-python - v6.1.1

Published by beniwohli over 3 years ago

Bug fixes

  • fixed a validation issue with the newly introduced instrumentation for S3, SNS and DynamoDB (#1090)
apm-agent-python - v6.1.0

Published by beniwohli over 3 years ago

Features

  • Add global access to Client singleton object at elasticapm.get_client() (#1043)
  • Add log_ecs_formatting config option (#1058) (#1063)
  • Add instrumentation for httplib2 (#1031)
  • Add better instrumentation for some AWS services (S3, SNS, DynamoDB) (#1054)
  • Added beta support for collecting metrics from prometheus_client (#1083)

Bug fixes

  • Fix for potential capture_body: error hang in Starlette/FastAPI (#1038)
  • Fix a rare error around processing stack frames (#1012)
  • Fix for Starlette/FastAPI to correctly capture request bodies as strings (#1041)
  • Fix transaction names for Starlette Mount routes (#1037)
  • Fix for elastic excepthook arguments (#1050)
  • Fix issue with remote configuration when resetting config values (#1068)
  • Use a label for the elasticapm Django app that is compatible with Django 3.2 validation (#1064)
  • Fix an issue with undefined routes in Starlette (#1076)
apm-agent-python - v6.0.0

Published by basepi over 3 years ago

Breaking changes

  • Python 2.7 and 3.5 support has been deprecated. The Python agent now requires Python 3.6+ [#1021]
  • No longer collecting body for elasticsearch-py update and delete_by_query [#1013]
  • Align sanitize_field_names config with the
    cross-agent spec.
    If you are using a non-default sanitize_field_names, surrounding each of your entries with stars (e.g.
    *secret*) will retain the old behavior. [#982]
  • Remove credit card sanitization for field values. This improves performance, and the security value of this check was
    dubious anyway. [#982]
  • Remove HTTP querystring sanitization. This improves performance, and is meant to standardize behavior across the
    agents, as defined in https://github.com/elastic/apm/pull/334. [#982]
  • Remove elasticapm.tag() (deprecated since 5.0.0) [#1034]

Bug fixes

  • Fix for GraphQL span spamming from scalar fields with required flag [#1015]
apm-agent-python - v5.10.1

Published by basepi over 3 years ago

Bug fixes

  • Fix for custom serializers in elasticsearch-py [#998]
  • Fix large query truncation in psycopg2 [#994]
  • Fix memory metrics reporting when memory.usage_in_bytes is unavailable [#987]
  • Fix for Starlette/FastAPI integration to properly obey enabled config [#1000]
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)
Package Rankings
Top 28.88% on Conda-forge.org
Top 1.63% on Pypi.org