A favicon of Logfire

Logfire

Observability platform from the Pydantic team that wraps OpenTelemetry with Python-centric tracing and lets you query telemetry using standard SQL.

Open Source Alternative to:

Screenshot of Logfire websiteVisit Logfire

From the team behind Pydantic Validation, Logfire is an observability platform built on the same belief as that library, that a tool doing serious work can still be easy to use. This repository holds the Python SDK and the documentation.

Logfire is an opinionated wrapper around OpenTelemetry with full support for traces, metrics and logs, so existing OTel tooling, infrastructure and instrumentation keep working and the SDK can export to any OTel-compatible backend. Getting started is a pip install and an auth command, after which you write manual spans or instrument a package such as FastAPI in one call.

What sets it apart is a lean toward Python and SQL.

  • Python-centric insights: rich display of Python objects, event-loop telemetry, and profiling of Python code and database queries.
  • Standard SQL: query your data with SQL, which also opens it to existing BI tools and database libraries.
  • Pydantic integration: see the data flowing through your validation models, with built-in analytics on validations.
  • Dashboard: kept simple relative to what it exposes, on the theory that a team only uses a tool it can read.
  • Other languages: SDKs exist for TypeScript and Rust, and the OpenTelemetry foundation extends support to virtually any language.

One boundary is worth knowing before adopting it. The SDKs are open source, but the server application that records and displays the data is closed source, and self-hosting that platform requires buying an enterprise license. The documentation also covers what Logfire does for LLM apps and agents, and for running evaluations in production.

Built with:
Share:
Details:
  • Stars


    4,460
  • Forks


    284
  • Last commit


    6 days ago
  • Repository age


    2 years
  • License


    MIT
  • Version


    5.0.0
  • Repository


    pydantic/logfire

Auto-fetched from GitHub .

Ad

 

 
 
 
 

Open source alternatives similar to Logfire:

 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


Logfire: Open Source Alternative to Datadog, New Relic and LangSmith – Unvendored