NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #3366 most downloaded on PyPI
The official Python module for Elastic APM
Last release 3 months ago
22 Jun 2026
Ships unpredictably
gaps range from 2 weeks to 13 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
108 releases · first in 2017
Fix httpcore instrumentation handling of default port #2669
_IncludedRouter in route name resolution #2682| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-26-2:1 |
Full Changelog: v6.26.1...v6.26.2
One column per quarter.
[float] ===== Bug fixes
_IncludedRouter in route name resolution {pull}2682[#2682][[release-notes-6.26.1]]
Release date: June 22, 2026
Fix httpcore instrumentation handling of default port #2669
Handle FastAPI 0.137 _IncludedRouter in route name resolution #2682
See 6.26.0 as well for the full changelog, this is a repackaging of that due to some CI failures in publishing the AWS lambda layers.
See 6.26.0 as well for the full changelog, this is a repackaging of that due to some CI failures in publishing the AWS lambda layers.
| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-26-1:1 |
Full Changelog: v6.26.0...v6.26.1
[float] ===== Bug fixes
[[release-notes-6.26.0]]
Release date: May 25, 2026
Remove usage of modules and patterns deprecated on recent Python versions #2531
psycopg[pool] #2460No layers due to CI failure, will be released in a followup 6.26.1
Full Changelog: v6.25.0...v6.26.0
[float] ===== Bug fixes
psycopg[pool] {pull}2460[#2460][[release-notes-6.25.0]]
Introduce ELASTIC_APM_SKIP_SERVER_INFO to reduce overhead on serverless with APM server 8.7.1+ #2516
ELASTIC_APM_SKIP_SERVER_INFO to reduce overhead on serverless with APM server 8.7.1+ #2516__all__ #2504HttpHeaders in operator behavior change #2512| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:2670937327<50:layer:elastic-apm-python-ver-6-25-0:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-25-0:1 |
Full Changelog: v6.24.1...v6.25.0
[float] ===== Features
ELASTIC_APM_SKIP_SERVER_INFO to reduce overhead on serverless with APM server 8.7.1+ {pull}2516[#2516]__all__ {pull}2504[#2504][float] ===== Bug fixes
HttpHeaders in operator behavior change {pull}2512[#2512][[release-notes-6.24.1]]
Release date: December 23, 2025
Introduce ELASTIC_APM_SKIP_SERVER_INFO to reduce overhead on serverless with APM server 8.7.1+ #2516
List all exported symbols in elasticapm module all #2504
Fix handling of psycopg ServerCursor and AsyncServerCursor instrumentation #2489
| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-24-1:1 |
Full Changelog: v6.24.0...v6.24.1
[float] ===== Bug fixes
[[release-notes-6.24.0]]
Release date: November 21, 2025
Fix handling of psycopg ServerCursor and AsyncServerCursor instrumentation #2489
Fix contrib/opentelemetry set_status to match base signature #2457
Add support for recent sanic versions [ #2190 ], [ #2194 ]
| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-24-0:3 |
Full Changelog: v6.23.0...v6.24.0
[float] ===== Features
[float] ===== Bug fixes
[[release-notes-6.23.0]]
Celery 4.0 support is deprecated because it's not installable anymore with a modern pip Elastic APM Python agent layer ARNs
| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-23-0:1 |
Full Changelog: v6.22.3...v6.23.0
[float] ===== Features
[float] ===== Bug fixes
===== Deprecations
[[release-notes-6.22.3]]
Release date: July 30, 2024
Fix handling consumer iteration if transaction not sampled in kafka instrumentation #2075
Fix race condition with urllib3 at shutdown #2085
Fix compatibility with setuptools>=72 that removed test command #2090
Elastic APM Python agent layer ARNs
Full Changelog: v6.22.2...v6.22.3
[float] ===== Bug fixes
[[release-notes-6.22.2]]
Release date: June 10, 2024
Elastic APM Python agent layer ARNs
Full Changelog: v6.22.1...v6.22.2
[float] ===== Bug fixes
[[release-notes-6.22.1]]
Add ability to override default JSON serialization #2018
<details> <summary>Elastic APM Python agent layer ARNs</summary>
| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-22-0:1 |
| </details> |
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.21.4...v6.22.0
[float] ===== Features
[[release-notes-6.21.4]]
Release date: April 3, 2024
Nothing published for this version
Fix artifacts download in CI workflows [#1996]
<details> <summary>Elastic APM Python agent layer ARNs</summary>
| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-21-3:1 |
| </details> |
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.21.2...v6.21.3
[float] ===== Bug fixes
[[release-notes-6.21.2]]
Release date: March 8, 2024
Fix CI release workflow [#1990]
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.21.0...v6.21.1
[float] ===== Bug fixes
[[release-notes-6.21.0]]
Async support for dbapi2 (starting with psycopg) [#1944]
<details> <summary>Elastic APM Python agent layer ARNs</summary>
| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-20-0:1 |
| </details> |
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.19.0...v6.20.0
[float] ===== Features
[float] ===== Bug fixes
[float] ===== Pending Deprecations
[[release-notes-6.19.0]]
Release date: January 10, 2024
Async support for dbapi2 (starting with psycopg) #1944
Add object name to procedure call spans in dbapi2 #1938
Add support for python 3.10 and 3.11 lambda runtimes
Fix asyncpg support for 0.29+ #1935
Fix dbapi2 signature extraction to handle square brackets in table name #1947
Add Python 3.12 support (See Known Issues)
configured_hostname and detected_hostname separately, and switch to FQDN for the detected_hostname. [#1891]event["headers"] is None [#1907]Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.18.0...v6.19.0
<details> <summary>Elastic APM Python agent layer ARNs</summary>
| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-19-0:1 |
</details>
[float] ===== Features
configured_hostname and detected_hostname separately, and switch to FQDN for the detected_hostname. {pull}1891[#1891][float] ===== Bug fixes
event["headers"] is None {pull}1907[#1907][float] ===== Pending Deprecations
[[release-notes-6.18.0]]
Release date: October 11, 2023
Add Python 3.12 support
Collect the configured_hostname and detected_hostname separately, and switch to FQDN for the detected_hostname . #1891
Improve postgres dollar-quote detection to be much faster #1905
Fix url argument fetching in aiohttp_client instrumentation #1890
Fix a bug in the AWS Lambda instrumentation when event["headers"] is None #1907
Fix a bug in AWS Lambda where metadata could be incomplete, causing validation errors with the APM Server #1914
Fix a bug in AWS Lambda where sending the partial transaction would be recorded as an extra span #1914
Add support for grpc aio server interceptor [#1870]
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.17.0...v6.18.0
<details> <summary>Elastic APM Python agent layer ARNs</summary>
| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-18-0:1 |
</details>
[float] ===== Features
[float] ===== Bug fixes
[[release-notes-6.17.0]]
Release date: July 25, 2023
Add server_ca_cert_file option to provide custom CA certificate
server_ca_cert_file option to provide custom CA certificate (#1852)include_process_args option to allow users to opt-in to collecting process args (#1867)<details> <summary>Elastic APM Python agent layer ARNs</summary>
| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-17-0:1 |
| </details> |
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.16.2...v6.17.0
Release date: July 3, 2023
Add server_ca_cert_file option to provide custom CA certificate #1852
Add include_process_args option to allow users to opt-in to collecting process args #1867
Fix compatibility issue with older versions of OpenSSL in lambda runtimes [#1847]
latest tag to docker images [#1848]user:pass in URLs in Python 3.11.4 [#1850]<details> <summary>Elastic APM Python agent layer ARNs</summary>
| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-16-2:1 |
</details>
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.16.1...v6.16.2
[float] ===== Bug fixes
latest tag to docker images {pull}1848[#1848]user:pass in URLs in Python 3.11.4 {pull}1850[#1850][[release-notes-6.16.1]]
Release date: June 12, 2023
Fix compatibility issue with older versions of OpenSSL in lambda runtimes #1847
Add latest tag to docker images #1848
Fix issue with redacting user:pass in URLs in Python 3.11.4 #1850
Fix release process for docker and the lambda layer [#1845]
<details> <summary>Elastic APM Python agent layer ARNs</summary>
| Region | ARN |
|---|---|
| af-south-1 | arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| ap-east-1 | arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| ap-northeast-1 | arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| ap-northeast-2 | arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| ap-northeast-3 | arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| ap-south-1 | arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| ap-southeast-1 | arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| ap-southeast-2 | arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| ap-southeast-3 | arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| ca-central-1 | arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| eu-central-1 | arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| eu-north-1 | arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| eu-south-1 | arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| eu-west-1 | arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| eu-west-2 | arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| eu-west-3 | arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| me-south-1 | arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| sa-east-1 | arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| us-east-1 | arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| us-east-2 | arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| us-west-1 | arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
| us-west-2 | arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-16-1:1 |
</details>
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.16.0...v6.16.1
[float] ===== Bug fixes
[[release-notes-6.16.0]]
Release date: June 6, 2023
> *Note*: While this is considered a bugfix, it can potentially be a breaking change in the Kibana APM app: It can break the history of the S3-Spans /…
transport_json_serializer configuration option [#1777]service.environment to log correlation [#1833]ecs_logging as a dependency [#1840]event is not a dict [#1775]activation_method to only send to APM server 8.7.1+ [#1787]Note: While this is considered a bugfix, it can potentially be a breaking change in the Kibana APM app: It can break the history of the S3-Spans / metrics for users relying on
context.destination.service.resource. If users happen to run agents both with and without this fix (for same or different languages), the same S3-buckets can appear twice in the service map (with and without s3-prefix).
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.15.1...v6.16.0
[float] ===== Features
transport_json_serializer configuration option {pull}1777[#1777]service.environment to log correlation {pull}1833[#1833]ecs_logging as a dependency {pull}1840[#1840][float] ===== Bug fixes
event is not a dict {pull}1775[#1775]activation_method to only send to APM server 8.7.1+ {pull}1787[#1787]Note: While this is considered a bugfix, it can potentially be a breaking
change in the Kibana APM app: It can break the history of the S3-Spans / metrics
for users relying on context.destination.service.resource. If users happen to
run agents both with and without this fix (for same or different languages), the
same S3-buckets can appear twice in the service map (with and without
s3-prefix).
[[release-notes-6.15.1]]
Fix issue with botocore instrumentation creating spans with an incorrect service.name [#1765]
service.name [#1765]Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.15.0...v6.15.1
[float] ===== Bug fixes
service.name {pull}1765[#1765][[release-notes-6.15.0]]
Release date: March 6, 2023
Fix issue with botocore instrumentation creating spans with an incorrect service.name #1765
Fix a bug in the GRPC instrumentation when the agent is disabled or not recording #1761
Add service.agent.activation_method to the metadata [#1743]
service.agent.activation_method to the metadata [#1743]server_url default to http://127.0.0.1:8200 to avoid ipv6 ambiguity [#1744]Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.14.0...v6.15.0
[float] ===== Features
service.agent.activation_method to the metadata {pull}1743[#1743][float] ===== Bug fixes
server_url default to http://127.0.0.1:8200 to avoid ipv6 ambiguity {pull}1744[#1744][[release-notes-6.14.0]]
Release date: February 16, 2023
Small fix to underlying Starlette logic to prevent duplicate Client objects #1735
Change server_url default to http://127.0.0.1:8200 to avoid ipv6 ambiguity #1744
Fix an issue in GRPC instrumentation with unsampled transactions #1740
Fix error in async Elasticsearch instrumentation when spans are dropped #1758
Mark kwargs config usage in our AWS Lambda integration as deprecated [#1727]
**kwargs config usage in our AWS Lambda integration as deprecated [#1727]Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.13.2...v6.14.0
[float] ===== Features
[float] ===== Bug fixes
**kwargs config usage in our AWS Lambda integration as deprecated {pull}1727[#1727][[release-notes-6.13.2]]
Release date: January 30, 2023
GRPC support #1703
Wrapper script Flask support (experimental) #1709
Fix an async issue with long elasticsearch queries #1725
Fix a minor inconsistency with the W3C tracestate spec #1728
Fix a cold start performance issue with our AWS Lambda integration #1727
Mark **kwargs config usage in our AWS Lambda integration as deprecated #1727
Fix error in Elasticsearch instrumentation when spans are dropped [#1690]
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.13.1...v6.13.2
[float] ===== Bug fixes
[[release-notes-6.13.1]]
Release date: November 17, 2022
Fix error in Elasticsearch instrumentation when spans are dropped #1690
Lower log level for errors in APM Server version fetching #1692
Fix for missing parent.id when logging from a DroppedSpan under a leaf span #1695
Fix elasticsearch instrumentation for track_total_hits=False [#1687]
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.13.0...v6.13.1
[float] ===== Bug fixes
[[release-notes-6.13.0]]
Release date: November 3, 2022
Add backend granularity data to SQL backends as well as Cassandra and pymongo #1585, #1639
*principal* to default sanitize_field_names configuration #1664manage.py check when agent is disabled #1632Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.12.0...v6.13.0
[float] ===== Features
*principal* to default sanitize_field_names configuration {pull}1664[#1664][float] ===== Bug fixes
manage.py check when agent is disabled {pull}1632[#1632][[release-notes-6.12.0]]
Add redis query to context data for redis instrumentation
span.context.http.request.id) (#1625)exception.message for exceptions captured by the agent (#1619)Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.11.0...v6.12.0
[float] ===== Features
span.context.http.request.id) {pull}1625[#1625][float] ===== Bug fixes
exception.message for exceptions captured by the agent {pull}1619[#1619][[release-notes-6.11.0]]
Added lambda support for ELB triggers [#1605]
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.10.2...v6.11.0
[float] ===== Features
[[release-notes-6.10.2]]
Release date: August 9, 2022
Fixed an issue with non-integer ports in Django [#1590]
varmap() [#1593]elasticapm.label() when a Client object is not available [#1596]Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.10.1...v6.10.2
[float] ===== Bug fixes
varmap() {pull}1593[#1593]elasticapm.label() when a Client object is not available {pull}1596[#1596][[release-notes-6.10.1]]
Release date: August 9, 2022
Fixed an issue with non-integer ports in Django #1590
Fixed an issue with non-integer ports in Redis #1591
Fixed a performance issue for local variable shortening via varmap() #1593
Fixed elasticapm.label() when a Client object is not available #1596
Fix an issue with Kafka instrumentation and unsampled transactions [#1579]
Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.10.0...v6.10.1
[float] ===== Bug fixes
[[release-notes-6.10.0]]
Release date: June 30, 2022
Add instrumentation for `aiobotocore` [#1520]
aiobotocore [#1520]kafka-python [#1555]trace_continuation_strategy setting [#1564]opentelemetry.Span.is_recording() [#1530]SERVICE_NAME config [#1546]Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.9.1...v6.10.0
[float] ===== Features
aiobotocore] {pull}1520[#1520]kafka-python] {pull}1555[#1555]trace_continuation_strategy setting {pull}1564[#1564][float] ===== Bug fixes
opentelemetry.Span.is_recording() {pull}1530[#1530][[release-notes-6.9.1]]
Fix otel_attributes-related regression with older versions of APM Server (<7.16) [#1510]
otel_attributes-related regression with older versions of APM Server (<7.16) [#1510]Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.9.0...v6.9.1
[float] ===== Bug fixes
otel_attributes-related regression with older versions of APM Server (<7.16) {pull}1510[#1510][[release-notes-6.9.0]]
Release date: March 30, 2022
Add span_stack_trace_min_duration to replace deprecated span_frames_min_duration [#1498]
sanitize_field_names to sanitize *auth* instead of authorization [#1494]span_stack_trace_min_duration to replace deprecated span_frames_min_duration [#1498]parent_span_id in celery headers [#1500]capture_body config [#1485]service_name [#1493]stack_trace_limit from 500 to 50 [#1492]datetime.timedelta objects [#1488]Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.8.1...v6.9.0
[float] ===== Features
sanitize_field_names to sanitize *auth* instead of authorization {pull}1494[#1494]span_stack_trace_min_duration to replace deprecated span_frames_min_duration {pull}1498[#1498]parent_span_id in celery headers {pull}1500[#1500][float] ===== Bug fixes
capture_body config {pull}1485[#1485]service_name {pull}1493[#1493]stack_trace_limit from 500 to 50 {pull}1492[#1492]datetime.timedelta objects {pull}1488[#1488][[release-notes-6.8.1]]
Fix exit_span_min_duration and disable by default [#1483]
exit_span_min_duration and disable by default [#1483]Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.8.0...v6.8.1
[float] ===== Bug fixes
exit_span_min_duration and disable by default {pull}1483[#1483][[release-notes-6.8.0]]
Release date: March 9, 2022
use "unknown-python-service" as default service name if no service name is configured
[float] ===== Features
[float] ===== Bug fixes
[[release-notes-6.7.2]]
fix AttributeError in sync instrumentation of httpx
[float] ===== Bug fixes
[[release-notes-6.7.1]]
Release date: December 7, 2021
fix AttributeError in sync instrumentation of httpx #1423
add setting to disable span compression, default to disabled #1429
fix an issue with Sanic exception tracking
[float] ===== Bug fixes
[[release-notes-6.7.0]]
Release date: November 29, 2021
fix an issue with Sanic exception tracking #1414
asyncpg: Limit SQL queries in context data to 10000 characters #1416
Add support for Sanic framework
[float] ===== Features
[float] ===== Bug fixes
span_compression_exact_match_max_duration default value {pull}1407[#1407][[release-notes-6.6.3]]
Release date: November 17, 2021
fix compatibility issues with httpx 0.21 #1403
fix span_compression_exact_match_max_duration default value #1407
fix an issue with metrics_sets configuration referencing the TransactionMetricSet removed in 6.6.2 {pull}1397[#1397]
[float] ===== Bug fixes
metrics_sets configuration referencing the TransactionMetricSet removed in 6.6.2 {pull}1397[#1397][[release-notes-6.6.2]]
Release date: November 15, 2021
Fix an issue where compressed spans would count against transaction_max_spans [#1377]
transaction_max_spans [#1377]User-Agent header to the new spec [#1378]aiohttp exception handling to allow for non-500 responses including HTTPOk [#1384]http.request.socket.encrypted context field [#1332]Full Changelog: https://github.com/elastic/apm-agent-python/compare/v6.6.1...v6.6.2
[float] ===== Bug fixes
transaction_max_spans {pull}1377[#1377]User-Agent header to the new https://github.com/elastic/apm/pull/514[spec] {pull}1378[#1378]aiohttp exception handling to allow for non-500 responses including HTTPOk {pull}1384[#1384][float] ===== Other
http.request.socket.encrypted context field {pull}1332[#1332][[release-notes-6.6.1]]
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
[float] ===== Bug fixes
[[release-notes-6.6.0]]
Release date: November 2, 2021
Add experimental support for AWS lambda instrumentation [#1193]
event.dataset from logging integrations [#1365][float] ===== Features
[float] ===== Bug fixes
event.dataset from logging integrations {pull}1365[#1365][[release-notes-6.5.0]]
Release date: October 18, 2021
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
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
Add instrumentation for Azure Storage (blob/table/fileshare) and Azure Queue [#1316]
asyncpg [#1328][float] ===== Features
[float] ===== Bug fixes
asyncpg {pull}1328[#1328][[release-notes-6.4.0]]
Release date: October 4, 2021
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
Rename the experimental log_ecs_formatting config to log_ecs_reformatting #1300
log_ecs_formatting config to log_ecs_reformatting #1300[float] ===== Features
log_ecs_formatting config to log_ecs_reformatting {pull}1300[#1300][float] ===== Bug fixes
[[release-notes-6.3.3]]
Release date: August 31, 2021
Rename the experimental log_ecs_formatting config to log_ecs_reformatting #1300
Add support for Prometheus histograms #1165
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
ensure that the elasticsearch instrumentation handles DroppedSpans correctly
[float] ===== Bug fixes
[[release-notes-6.3.2]]
Release date: July 14, 2021
Fix handling of non-http scopes in Starlette/FastAPI middleware [#1187]
[float] ===== Bug fixes
[[release-notes-6.3.1]]
Release date: July 7, 2021
Fix issue with Starlette/FastAPI hanging on startup
[float] ===== Bug fixes
[[release-notes-6.3.0]]
Release date: July 7, 2021
Add additional context information about elasticsearch client requests [#1108]
use_certifi config option to allow users to disable certifi [#1163][float] ===== Features
use_certifi config option to allow users to disable certifi {pull}1163[#1163][float] ===== Bug fixes
[[release-notes-6.2.3]]
Release date: July 6, 2021
Add additional context information about elasticsearch client requests #1108
Add use_certifi config option to allow users to disable certifi #1163
Fix for Starlette 0.15.0 error collection #1174
Fix for Starlette static files #1137
suppress the default_app_config attribute in Django 3.2+ [#1155]
[float] ===== Bug fixes
[[release-notes-6.2.2]]
Release date: June 28, 2021
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
Fix an attribute access bug introduced in 6.2.0
[float] ===== Bug fixes
[[release-notes-6.2.1]]
Release date: June 7, 2021
catch and log exceptions in interval timer threads
[float] ===== Bug fixes
[[release-notes-6.2.0]]
Release date: June 3, 2021
Added Redis pub/sub instrumentation
[float] ===== Features
[float] ===== Bug fixes
[[release-notes-6.1.3]]
Release date: May 31, 2021
Added support for aioredis 1.x #2526
Added support for aiomysql #1107
Added Redis pub/sub instrumentation #1129
Added specific instrumentation for AWS SQS #1123
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
added destination information to asyncpg instrumentation
[float] ===== Bug fixes
[[release-notes-6.1.2]]
Release date: April 28, 2021
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
fixed issue with empty transaction name for the root route with Django
[float] ===== Bug fixes
[[release-notes-6.1.1]]
Release date: April 14, 2021
fixed issue with empty transaction name for the root route with Django #1095
fixed on-the-fly initialisation of Flask apps #1099
fixed a validation issue with the newly introduced instrumentation for S3, SNS and DynamoDB
[float] ===== Bug fixes
[[release-notes-6.1.0]]
Release date: April 8, 2021
Add global access to Client singleton object at elasticapm.get_client()
elasticapm.get_client() (#1043)log_ecs_formatting config option (#1058) (#1063)capture_body: error hang in Starlette/FastAPI (#1038)[float] ===== Features
elasticapm.get_client() {pull}1043[#1043]log_ecs_formatting config option {pull}1058[#1058] {pull}1063[#1063][float] ===== Bug fixes
capture_body: error hang in Starlette/FastAPI {pull}1038[#1038][[release-notes-6.0.0]]
Python 2.7 and 3.5 support has been deprecated. The Python agent now requires Python 3.6+ [#1021]
elasticsearch-py update and delete_by_query [#1013]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]elasticapm.tag() (deprecated since 5.0.0) [#1034][float] ===== Breaking changes
elasticsearch-py update and delete_by_query {pull}1013[#1013]sanitize_field_names config with the
https://github.com/elastic/apm/blob/3fa78e2a1eeea81c73c2e16e96dbf6b2e79f3c64/specs/agents/sanitization.md[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. {pull}982[#982]elasticapm.tag() (deprecated since 5.0.0) {pull}1034[#1034][float] ===== Bug fixes
[[release-notes-5.x]] === Python Agent version 5.x
[[release-notes-5.10.1]]
Release date: February 1, 2021
Fix for custom serializers in elasticsearch-py [#998]
memory.usage_in_bytes is unavailable [#987]enabled config [#1000][float] ===== Bug fixes
memory.usage_in_bytes is unavailable {pull}987[#987]enabled config {pull}1000[#1000][[release-notes-5.10.0]]
Implement "sample_rate" property for transactions and spans, and propagate through tracestate
sys.excepthook to catch all exceptions (#943)log_level config (supports central config) (#946)transaction_ignore_urls config (supports central config) (#923)elasticsearch-py (#940)[float] ===== Features
sys.excepthook to catch all exceptions {pull}943[#943]log_level config (supports central config) {pull}946[#946]transaction_ignore_urls config (supports central config) {pull}923[#923][float] ===== Bug fixes
elasticsearch-py {pull}940[#940][[release-notes-5.9.0]]
Add instrumentation support for `httpx` and `httpcore`
[float] ===== Features
httpx] and https://github.com/encode/httpcore[httpcore] {pull}898[#898]asyncpg {pull}889[#889][float] ===== Bug fixes
required config items. {pull}927[#927][[release-notes-5.8.1]]
Your coding agent can read these notes before it upgrades. Set up the MCP server →