﻿---
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/2395/reference/apm/agents/python/advanced-topics
---

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