Type to search.

Elastic APM Python Agent breaking changes

Serverless Observability

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Stack

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available

    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.

APM Agent Python

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

  • Generally available

    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.

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-py update and delete_by_query. For more information, check #1013.
  • Align 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. 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.