Elastic-apm

Latest version: v6.22.3

Safety actively analyzes 641171 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 17

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

Page 2 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.