Elastic APM Python Agent breaking changes
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. The Elastic APM Python agent enables you to trace the execution of operations in your Python applications, sending performance metrics and errors to the Elastic APM Server. Availability This functionality is generally available and ready for production usage. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless Observability
Generally available
Stack
Generally available
APM Agent Python
Generally available
Before you upgrade, carefully review the Elastic APM RPython Agent breaking changes and take the necessary steps to mitigate any issues.
Release date: February 1, 2021
- Python 2.7 and 3.5 support has been deprecated. The Python agent now requires Python 3.6+. For more information, check #1021.
- No longer collecting body for
elasticsearch-pyupdate anddelete_by_query. For more information, check #1013. - Align
sanitize_field_namesconfig with the cross-agent spec. If you are using a non-defaultsanitize_field_names, surrounding each of your entries with stars (e.g.*secret*) will retain the old behavior. For more information, check #982. - Remove credit card sanitization for field values. This improves performance, and the security value of this check was dubious anyway. For more information, check #982.
- Remove HTTP querystring sanitization. This improves performance, and is meant to standardize behavior across the agents, as defined in #334. For more information, check #982.
- Remove
elasticapm.tag()(deprecated since 5.0.0). For more information, check #1034.