Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update elastic-apm to 6.22.2 #3002

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates elastic-apm from 5.5.2 to 6.22.2.

Changelog

6.22.0

Elastic APM Python agent

Features

- 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

6.21.4

Elastic APM Python agent layer ARNs

Bug fixes

- Fix urllib3 2.0.1+ crash with many args [2002](https://github.com/elastic/apm-agent-python/pull/2002)

<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-4:1|
|ap-east-1|arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|ap-northeast-1|arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|ap-northeast-2|arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|ap-northeast-3|arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|ap-south-1|arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|ap-southeast-1|arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|ap-southeast-2|arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|ap-southeast-3|arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|ca-central-1|arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|eu-central-1|arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|eu-north-1|arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|eu-south-1|arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|eu-west-1|arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|eu-west-2|arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|eu-west-3|arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|me-south-1|arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|sa-east-1|arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|us-east-1|arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|us-east-2|arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|us-west-1|arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-python-ver-6-21-4:1|
|us-west-2|arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-python-ver-6-21-4:1|

</details>

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.21.3...v6.21.4

6.21.3

Bug fixes

* 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

6.21.1

Bug fixes

* Fix CI release workflow [1990]

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.21.0...v6.21.1

6.21.0

Bug fixes

* Fix starlette middleware setup without client argument [1952]
* Fix blocking of gRPC stream-to-stream requests [1967]
* Always take into account body reading time for starlette requests [1970]
* Make urllib3 transport tests more robust against local env [1969]
* Clarify starlette integration documentation [1956]
* Make dbapi2 query scanning for dollar quotes a bit more correct [1976]
* Normalize headers in AWS Lambda integration on API Gateway v1 requests [1982]

New Contributors
* gabriel-f-santos made their first contribution in https://github.com/elastic/apm-agent-python/pull/1952
* psydok made their first contribution in https://github.com/elastic/apm-agent-python/pull/1967
* mariocandela made their first contribution in https://github.com/elastic/apm-agent-python/pull/1956

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.20.0...v6.21.0

6.20.0

Features

* 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

Bug fixes

* Fix asyncpg support for 0.29+ [1935]
* Fix dbapi2 signature extraction to handle square brackets in table name [1947]

Pending Deprecations

* The log shipping LoggingHandler will be removed in version 7.0.0 of the agent.


<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>

New Contributors
* xrmx made their first contribution in https://github.com/elastic/apm-agent-python/pull/1923
* iurisilvio made their first contribution in https://github.com/elastic/apm-agent-python/pull/1935
* uglide made their first contribution in https://github.com/elastic/apm-agent-python/pull/1940
* anderssonjohan made their first contribution in https://github.com/elastic/apm-agent-python/pull/1938
* aless10 made their first contribution in https://github.com/elastic/apm-agent-python/pull/1947

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.19.0...v6.20.0

6.19.0

Features

* Add Python 3.12 support (See Known Issues)
* 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]

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: https://github.com/python/cpython/issues/111049

New Contributors

* fritzdj made their first contribution in https://github.com/elastic/apm-agent-python/pull/1897
* nbarbey made their first contribution in https://github.com/elastic/apm-agent-python/pull/1890
* alexmojaki made their first contribution in https://github.com/elastic/apm-agent-python/pull/1905
* orsinium made their first contribution in https://github.com/elastic/apm-agent-python/pull/1915

**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>

6.18.0

Features

* Add support for grpc aio server interceptor [1870]

Bug fixes

* Fix a bug in the Elasticsearch client instrumentation which was causing loss of database context (including statement) when interacting with Elastic Cloud [1878]

New Contributors
* felipou made their first contribution in https://github.com/elastic/apm-agent-python/pull/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>

6.17.0

Features
* 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)

Bug fixes
* Fix a bug in the GRPC instrumentation when reaching the maximum amount of spans per transaction (1861)

<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

6.16.2

Bug Fixes

* 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]

<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

6.16.1

Bugfixes

* 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

6.16.0

Features

* Add lambda layer for instrumenting AWS Lambda functions [1826]
* Implement instrumentation of Azure Functions [1766]
* Add support for Django to wrapper script [1780]
* Add support for Starlette to wrapper script [1830]
* Add `transport_json_serializer` configuration option [1777]
* Add S3 bucket and key name to OTel attributes [1790]
* Implement partial transaction support in AWS lambda [1784]
* Add instrumentation for redis.asyncio [1807]
* Add support for urllib3 v2.0.1+ [1822]
* Add `service.environment` to log correlation [1833]
* Add `ecs_logging` as a dependency [1840]
* Add support for synchronous psycopg3 [1841]

Bug fixes

* Fix spans being dropped if they don't have a name [1770]
* Fix AWS Lambda support when `event` is not a dict [1775]
* Fix deprecation warning with urllib3 2.0.0 pre-release versions [1778]
* Fix `activation_method` to only send to APM server 8.7.1+ [1787]
* Fix span.context.destination.service.resource for S3 spans to have an "s3/" prefix. [1783]
> *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).
* Fix instrumentation to not bubble up exceptions during instrumentation [1791]
* Fix HTTP transport to not print useless and confusing stack trace [1809]

New Contributors
* lioman made their first contribution in https://github.com/elastic/apm-agent-python/pull/1778
* gianfrancodemarco made their first contribution in https://github.com/elastic/apm-agent-python/pull/1805
* SylvainJuge made their first contribution in https://github.com/elastic/apm-agent-python/pull/1842
* minhtule made their first contribution in https://github.com/elastic/apm-agent-python/pull/1841

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.15.1...v6.16.0

6.15.1

Bug fixes

* 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]

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.15.0...v6.15.1

6.15.0

Features

* Add `service.agent.activation_method` to the metadata [1743]

Bug fixes

* 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]

New Contributors
* goodoldneon made their first contribution in https://github.com/elastic/apm-agent-python/pull/1738
* reakaleek made their first contribution in https://github.com/elastic/apm-agent-python/pull/1731
* someshwaranM made their first contribution in https://github.com/elastic/apm-agent-python/pull/1751

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.14.0...v6.15.0

6.14.0

Features

* GRPC support [1703]
* Wrapper script Flask support (experimental) [1709]

Bug fixes

* 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]

New Contributors
* brett-fitz made their first contribution in https://github.com/elastic/apm-agent-python/pull/1720
* trentm made their first contribution in https://github.com/elastic/apm-agent-python/pull/1728

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.13.2...v6.14.0

6.13.2

Bug fixes

- 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]

New Contributors
* kalemas made their first contribution in https://github.com/elastic/apm-agent-python/pull/1695

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.13.1...v6.13.2

6.13.1

Bug fixes

* 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

6.13.0

Features
* Add support for Python 3.11
* Add backend granularity data to SQL backends as well as Cassandra and pymongo 1585, 1639
* Add support for instrumenting the Elasticsearch 8 Python client 1642
* Add `*principal*` to default `sanitize_field_names` configuration 1664
* Add docs and better support for custom metrics, including in AWS Lambda 1643
* Add support for capturing span links from AWS SQS in AWS Lambda 1662

Bug fixes
* Fix Django's `manage.py check` when agent is disabled 1632
* Fix an issue with long body truncation for Starlette 1635
* Fix an issue with transaction outcomes in Flask for uncaught exceptions 1637
* Fix Starlette instrumentation to make sure transaction information is still present during exception handling 1674

New Contributors
* francoisfreitag made their first contribution in https://github.com/elastic/apm-agent-python/pull/1632
* mukhamux made their first contribution in https://github.com/elastic/apm-agent-python/pull/1635
* LucaWintergerst made their first contribution in https://github.com/elastic/apm-agent-python/pull/1637
* nuno407 made their first contribution in https://github.com/elastic/apm-agent-python/pull/1640
* marcoffee made their first contribution in https://github.com/elastic/apm-agent-python/pull/1655

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.12.0...v6.13.0

6.12.0

Features

* Add redis query to context data for redis instrumentation (1406)
* Add AWS request ID to all botocore spans (at `span.context.http.request.id`) (1625)

Bug fixes

* Differentiate Lambda URLs from API Gateway in AWS Lambda integration (1609)
* Restrict the size of Django request bodies to prevent APM Server rejection (1610)
* Restrict length of `exception.message` for exceptions captured by the agent (1619)
* Restrict length of Starlette request bodies (1549)
* Fix error when using elasticsearch(sniff_on_start=True) (1618)
* Improve handling of ignored URLs and capture_body=off for Starlette (1549)
* Fix possible error in the transport flush for Lambda functions (1628)

New Contributors
* frnkvieira made their first contribution in https://github.com/elastic/apm-agent-python/pull/1549

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.11.0...v6.12.0

6.11.0

Features

* Added lambda support for ELB triggers [1605]

New Contributors
* tonyman19 made their first contribution in https://github.com/elastic/apm-agent-python/pull/1605

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.10.2...v6.11.0

6.10.2

Bug fixes

* 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]

New Contributors
* dennis-wey made their first contribution in https://github.com/elastic/apm-agent-python/pull/1596

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.10.1...v6.10.2

6.10.1

Bug fixes

* 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

6.10.0

Features
* Add instrumentation for [`aiobotocore`](https://github.com/aio-libs/aiobotocore) [#1520]
* Add instrumentation for [`kafka-python`](https://kafka-python.readthedocs.io/en/master/) [#1555]
* Add API for span links, and implement span link support for OpenTelemetry bridge [1562]
* Add span links to SQS ReceiveMessage call [1575]
* Add specific instrumentation for SQS delete/batch-delete [1567]
* Add `trace_continuation_strategy` setting [1564]

Bug fixes
* Fix return for `opentelemetry.Span.is_recording()` [1530]
* Fix error logging for bad `SERVICE_NAME` config [1546]
* Do not instrument old versions of Tornado < 6.0 due to incompatibility [1566]
* Fix transaction names for class based views in Django 4.0+ [1571]
* Fix a problem with our logging handler failing to report internal errors in its emitter [1568]

New Contributors
* ckoehn made their first contribution in https://github.com/elastic/apm-agent-python/pull/1536
* amannocci made their first contribution in https://github.com/elastic/apm-agent-python/pull/1554
* silici0 made their first contribution in https://github.com/elastic/apm-agent-python/pull/1558
* dhalenok made their first contribution in https://github.com/elastic/apm-agent-python/pull/1571

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.9.1...v6.10.0

6.9.1

Bug fixes

* Fix `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

6.9.0

Features

* Add OpenTelemetry API bridge [1411]
* Change default for `sanitize_field_names` to sanitize `*auth*` instead of `authorization` [1494]
* Add `span_stack_trace_min_duration` to replace deprecated `span_frames_min_duration` [1498]
* Enable exact_match span compression by default [1504]
* Allow parent celery tasks to specify the downstream `parent_span_id` in celery headers [1500]

Bug fixes

* Fix Sanic integration to properly respect the `capture_body` config [1485]
* Lambda fixes to align with the cross-agent spec [1489]
* Lambda fix for custom `service_name` [1493]
* Change default for `stack_trace_limit` from 500 to 50 [1492]
* Switch all duration handling to use `datetime.timedelta` objects [1488]

**Full Changelog**: https://github.com/elastic/apm-agent-python/compare/v6.8.1...v6.9.0

6.8.1

Bug fixes

* Fix `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

6.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)

6.7.2

Bugfixes
* fix AttributeError in sync instrumentation of httpx (1423)
* add setting to disable span compression, default to disabled (1429)

6.7.1

Bugfixes
* fix an issue with Sanic exception tracking (1414)
* asyncpg: Limit SQL queries in context data to 10000 characters (1416)

6.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)

6.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](https://github.com/elastic/apm/pull/514) [#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

6.6.1

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

6.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]

6.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]

6.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

6.3.3

Bug fixes

* ensure that the elasticsearch instrumentation handles DroppedSpans correctly (1190)

6.3.2

Bug fixes

* Fix handling of non-http scopes in Starlette/FastAPI middleware [1187]

6.3.1

Bug fixes

* Fix issue with Starlette/FastAPI hanging on startup (1185)

6.3.0

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]

6.2.3

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]

6.2.2

Bug fixes

* Fix an attribute access bug introduced in 6.2.0 (1149)

6.2.1

Bugfixes

* catch and log exceptions in interval timer threads (1145)

6.2.0

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)

6.1.3

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)

6.1.2

Bug fixes

* fixed issue with empty transaction name for the root route with Django (1095)
* fixed on-the-fly initialisation of Flask apps (1099)

6.1.1

Bug fixes

* fixed a validation issue with the newly introduced instrumentation for S3, SNS and DynamoDB (1090)

6.1.0

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)

6.0.0

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](https://github.com/elastic/apm/blob/3fa78e2a1eeea81c73c2e16e96dbf6b2e79f3c64/specs/agents/sanitization.md).
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]

5.10.1

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]

5.10.0

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)

5.9.0

Features

* Add instrumentation support for [`httpx`](https://github.com/encode/httpx) and [`httpcore`](https://github.com/encode/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)

5.8.1

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)

5.8.0

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]

5.7.0

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)

5.6.0

New features

* Added `SERVICE_NODE_NAME` config [592]
* Added instrumentation support for [`pymemcache`](https://github.com/pinterest/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.
Links

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #3017

@pyup-bot pyup-bot closed this Jun 10, 2024
@ednilson ednilson deleted the pyup-update-elastic-apm-5.5.2-to-6.22.2 branch June 10, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant