v6.19.0
Features
- Add Python 3.12 support (See Known Issues)
- Collect the
configured_hostnameanddetected_hostnameseparately, and switch to FQDN for thedetected_hostname. [#1891] - Improve postgres dollar-quote detection to be much faster [#1905]
Bug fixes
- 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]
Pending Deprecations
- The log shipping feature in the Flask instrumentation will be removed in version 7.0.0 of the agent.
Known Issues
- Python 3.12.0 has a bug that may cause a segfault with short-lived Client objects. Track the progress of this bug here: python/cpython#111049
New Contributors
- @fritzdj made their first contribution in #1897
- @nbarbey made their first contribution in #1890
- @alexmojaki made their first contribution in #1905
- @orsinium made their first contribution in #1915
Full Changelog: v6.18.0...v6.19.0
Elastic APM Python agent layer ARNs
| 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 |