Skip to main content
The fastest way to instrument Python apps. Auto-instruments popular frameworks (Django, Flask, FastAPI, SQLAlchemy) with zero code changes.

1. Install

2. Configure

Set environment variables:

3. Run

Squasher automatically extracts errors from your traces and logs. All exception spans and error-level log records are captured.

Django

Install Django-specific auto-instrumentation:
Then run your app with the OTel instrumentor:

Flask

FastAPI

Alternative: Direct HTTP API

If you prefer not to use OpenTelemetry, send events directly via our HTTP API:

Structured Logging via HTTP

AWS Lambda

For Python Lambda functions, use environment variables with the OTel Lambda layer:
Or use the direct HTTP API approach above — it works without any layers.

First-party SDK

If your app already uses Python’s logging module and you want a smaller integration, use the Python SDK.

Agent handoff