Loading

Elastic APM Python Agent breaking 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.