Skip to content

Integrations

If a package you are using is not listed here, please let us know on our Slack!

OpenTelemetry Integrations

Since Pydantic Logfire is OpenTelemetry compatible, it can be used with any OpenTelemetry instrumentation package. You can find the list of all OpenTelemetry instrumentation packages here.

Below you can see more details on how to use Logfire with some of the most popular Python packages.

Package Type
FastAPI Web Framework
Django Web Framework
Flask Web Framework
Starlette Web Framework
ASGI Web Framework Interface
WSGI Web Framework Interface
HTTPX HTTP Client
Requests HTTP Client
AIOHTTP HTTP Client
SQLAlchemy Databases
Asyncpg Databases
Psycopg Databases
PyMongo Databases
Redis Databases
Celery Task Queue
System Metrics System Metrics

If you are using Logfire with a web application, we also recommend reviewing our Web Frameworks documentation.

Custom Integrations

We have special integration with the Pydantic library and the OpenAI SDK:

Package Type
Pydantic Data Validation
OpenAI AI

Logging Integrations

Finally, we also have documentation for how to use Logfire with existing logging libraries:

Package Type
Standard Library Logging Logging
Loguru Logging
Structlog Logging