Releases: elastic/apm-agent-python
Releases · elastic/apm-agent-python
v6.8.0
Features
- use "unknown-python-service" as default service name if no service name is configured (#1438)
- add transaction name to error objects (#1441)
- don't send unsampled transactions to APM Server 8.0+ (#1442)
- implement snapshotting of certain configuration during transaction lifetime (#1431)
- propagate traceparent IDs via Celery (#1371)
- removed Python 2 compatibility shims (#1463)
Note: Python 2 support was already removed with version 6.0 of the agent, this now removes unused compatibilit shims.
Bug fixes
- fix span compression for redis, mongodb, cassandra and memcached (#1444)
- fix recording of status_code for starlette (#1466)
- fix aioredis span context handling (#1462)
v6.7.2
Bugfixes
- fix AttributeError in sync instrumentation of httpx (#1423)
- add setting to disable span compression, default to disabled (#1429)
v6.7.1
Bugfixes
- fix an issue with Sanic exception tracking (#1414)
- asyncpg: Limit SQL queries in context data to 10000 characters (#1416)
v6.7.0
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)
v6.6.2
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: v6.6.1...v6.6.2
v6.6.1
Bug fixes
- Fix some context fields and metadata handling in AWS Lambda support [#1368]
Full Changelog: v6.6.0...v6.6.1
v6.6.0
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]
v6.5.0
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]
v6.4.0
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
v6.3.3
Bug fixes
- ensure that the elasticsearch instrumentation handles DroppedSpans correctly (#1190)