Docs
  • Guides
  • APIs (opens in a new tab)
  • Products
    Elasticsearch Observability Security Elastic Cloud
  • Reference
  • Troubleshoot
  • Release notes
  1. Docs /
  2. Reference /
  3. Ingestion tools /
  4. APM /
  5. APM agents /
  6. APM Python agent

Advanced topics

  • Instrumenting custom code
  • Sanitizing data
  • How the Agent works
  • Run Tests Locally
Previous
Configuration
Next
Instrumenting custom code
  • View as Markdown
  • Report a docs issue
  • Edit this page
  • Learn how to contribute
Get started free
  • 14-day free trial
  • All features included
  • No setup required
Section
Reference
Docs Guides APIs (opens in a new tab)
Products
Elasticsearch Observability Security Elastic Cloud
Reference Troubleshoot Release notes
Version
Reference Ingestion tools APM APM agents
  • APM Python agent
    • Set up the APM Python Agent
      • Django support
      • Flask support
      • Aiohttp Server support
      • Tornado Support
      • Starlette/FastAPI Support
      • Sanic Support
      • Monitoring AWS Lambda Python Functions
      • Monitoring Azure Functions
      • Wrapper Support
      • ASGI Middleware
    • Supported technologies
    • Configuration
    • Advanced topics
      • Instrumenting custom code
      • Sanitizing data
      • How the Agent works
      • Run Tests Locally
    • API reference
    • Metrics
    • OpenTelemetry API Bridge
    • Logs
    • Performance tuning
    • Upgrading
      • Upgrading to version 6 of the agent
      • Upgrading to version 5 of the agent
      • Upgrading to version 4 of the agent
    • Troubleshooting
Elastic logo
  • Trademarks
  • Terms of Use
  • Privacy
  • Sitemap

© 2026 Elasticsearch B.V. All Rights Reserved.

This content is available in different formats for convenience only. All original licensing terms apply.

Elasticsearch is a trademark of Elasticsearch B.V., registered in the U.S. and in other countries. Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.