﻿---
title: Advanced topics
description: Instrumenting custom code, Sanitizing data, How the Agent works, Run Tests Locally. 
url: https://www.elastic.co/elastic/docs-builder/docs/2830/reference/apm/agents/python/advanced-topics
products:
  - APM Agent
  - APM Python Agent
applies_to:
  - Serverless Observability projects: Generally available
  - Elastic Stack: Generally available
  - Application Performance Monitoring Agent for Python: Generally available
---

# Advanced topics
- [Instrumenting custom code](https://www.elastic.co/elastic/docs-builder/docs/2830/reference/apm/agents/python/instrumenting-custom-code)
- [Sanitizing data](https://www.elastic.co/elastic/docs-builder/docs/2830/reference/apm/agents/python/sanitizing-data)
- [How the Agent works](https://www.elastic.co/elastic/docs-builder/docs/2830/reference/apm/agents/python/how-agent-works)
- [Run Tests Locally](https://www.elastic.co/elastic/docs-builder/docs/2830/reference/apm/agents/python/run-tests-locally)