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