Logfire

Observability platform for Python applications that integrates logs, metrics, and traces using OpenTelemetry and SQL queries.

Logfire screenshot 1

Logfire is an open-source web app and server that provides observability for Python applications. It combines logs, profiling, and telemetry into a single platform to help developers monitor application behavior and performance. The tool focuses on providing visibility into how code executes and how data moves through a system.

The software is deployed as a server application with accompanying SDKs for Python, TypeScript, and Rust. It is used by integrating the SDK into an application's codebase, where it can be configured for manual tracing or automatic instrumentation. This allows developers to track specific events or monitor entire frameworks without writing extensive boilerplate code for every function call.

Key features

  • Support for all OpenTelemetry signals including traces, metrics, and logs
  • SQL based querying for data analysis and BI tool integration
  • Deep integration with Pydantic models for validation analytics
  • Event loop telemetry and profiling for Python code and database queries
  • Automatic instrumentation for common Python packages
  • Rich display of Python objects within the dashboard
  • Export capabilities to any OpenTelemetry compatible backend

Logfire acts as an opinionated wrapper around OpenTelemetry, allowing teams to leverage existing infrastructure and instrumentation while benefiting from Python centric insights. It is designed for engineering teams who require detailed visibility into how data flows through Pydantic validation models and how asynchronous event loops perform. The system supports manual tracing through spans and debug logs, as well as high level integration with web frameworks like FastAPI to capture request and response cycles automatically.

While the SDKs are open source and can export data to any OTel compatible backend, the server application containing the UI and backend logic is closed source. Organizations can choose to use the hosted version or self host the platform by purchasing an enterprise license.

Logfire is a developer focused observability tool specifically optimized for the Python ecosystem.

Last Modified
Software TypeWeb App / Server
Platform
Last Activity14 days ago
Repository Age2 years
LicenseMIT
Open Source Alternative to
Open Source Software.io

Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.