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

Published by beniwohli almost 3 years ago

Features

  • Add support for Sanic framework (#1390)

Bugfixes

  • fix compatibility issues with httpx 0.21 (#1403)
  • fix span_compression_exact_match_max_duration default value (#1407)
apm-agent-python - v6.6.2

Published by basepi almost 3 years ago

Bug fixes

  • Fix an issue where compressed spans would count against transaction_max_spans [#1377]
  • Make sure HTTP connections are not re-used after a process fork [#1374]
  • Fix an issue with psycopg2 instrumentation when multiple hosts are defined [#1386]
  • Update the User-Agent header to the new spec [#1378]
  • Improve status_code handling in AWS Lambda integration [#1382]
  • Fix aiohttp exception handling to allow for non-500 responses including HTTPOk [#1384]
  • Force transaction names to strings [#1389]

Other

  • Remove unused http.request.socket.encrypted context field [#1332]
  • Remove unused transaction metrics (APM Server handles these metrics instead) [#1388]

Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.6.1...v6.6.2

apm-agent-python - v6.6.1

Published by basepi almost 3 years ago

Bug fixes

  • Fix some context fields and metadata handling in AWS Lambda support [#1368]

Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.6.0...v6.6.1

apm-agent-python - v6.6.0

Published by basepi about 3 years ago

Features

  • Add experimental support for AWS lambda instrumentation [#1193]
  • Add support for span compression [#1321]
  • Auto-infer destination resources for easier instrumentation of new resources [#1359]
  • Add support for dropped span statistics [#1327]

Bug fixes

  • Ensure that Prometheus histograms are encoded correctly for APM Server [#1354]
  • Remove problematic (and duplicate) event.dataset from logging integrations [#1365]
  • Fix for memcache instrumentation when configured with a unix socket [#1357]
apm-agent-python - v6.5.0

Published by basepi about 3 years ago

Features

  • Add instrumentation for Azure Storage (blob/table/fileshare) and Azure Queue [#1316]

Bug fixes

  • Improve span coverage for asyncpg [#1328]
  • aiohttp: Correctly pass custom client to tracing middleware [#1345]
  • Fixed an issue with httpx instrumentation [#1337]
  • Fixed an issue with Django 4.0 removing a private method [#1347]
apm-agent-python - v6.4.0

Published by beniwohli about 3 years ago

Features

  • Rename the experimental log_ecs_formatting config to log_ecs_reformatting #1300
  • Add support for Prometheus histograms #1165

Bug fixes

  • Fixed cookie sanitization when Cookie is capitalized #1301
  • Fix a bug with exception capturing for bad UUIDs #1304
  • Fix potential errors in json serialization #1203
  • Fix an issue with certain aioredis commands #1308
apm-agent-python - v6.3.3

Published by beniwohli over 3 years ago

Bug fixes

  • ensure that the elasticsearch instrumentation handles DroppedSpans correctly (#1190)
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]
Package Rankings
Top 28.88% on Conda-forge.org
Top 1.63% on Pypi.org