Python Agent

Scout APM

Scout’s Python agent supports many popular libraries to instrument SQL queries, template rendering, HTTP requests and more. The package is called scout-apm on PyPI. Source code and issues can be found on our scout_apm_python GitHub repository.


scout-apm requires :

Instrumented Libraries

Scout provides instrument for most of the popular Python libraries. Instrumentation may require some configuration (Django) or is automatically applied (Requests) by our agent.

Some configuration required

The libraries below require a small number of configuration updates. Click on the respective library for instructions.

Additionally, Scout can also instrument request queuing time.

Automatically applied

The libraries below are automatically detected by the agent during the startup process and do not require explicit configuration to add instrumentation.

You can instrument your own code or other libraries via custom instrumentation. You can suggest additional libraries you’d like Scout to instrument on GitHub.

Below are database drivers that SQLAlchemy and Django integrate with that we support:

Updating to the Newest Version

pip install scout-apm --upgrade

The package changelog is available here.