#3434th of 53 in Gateways and observability
logfire
Python SDK for OpenTelemetry tracing, with a SQL-queryable hosted backend
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 4.5k
- License
- MIT
- Last commit
- Oct 2026
- Last release
- Oct 2026
- Language
- Python
Missed the latest GitHub check; these facts may be older.
Overview
Logfire is a Python SDK wrapping OpenTelemetry that emits traces, metrics and logs, with instrumentation helpers for packages such as FastAPI and for Pydantic validation. Data goes to the Logfire platform, where it can be queried with SQL. The UI and backend are closed source; self-hosting requires an enterprise license, though the SDK can export to any OTel-compatible backend.
Who it is for: Python developers who want OpenTelemetry-based tracing and LLM app observability
Strengths
- Built on OpenTelemetry; supports traces, metrics and logs, with TypeScript and Rust SDKs
- Query recorded data with standard SQL, usable from existing BI tools
- One-line integrations like logfire.instrument_fastapi(app), plus Pydantic validation analytics
- SDK can export to any OTel-compatible backend instead of Logfire
Weaknesses
- Server, UI and backend are closed source; this repo holds only the SDK and docs
- Self-hosting the platform requires purchasing an enterprise license
- Richest features are Python-centric; other languages use separate SDK repos
What it needs
- no GPU
- Needs Logfire platform or other OTel-compatible backend
Also in Gateways and observability
See all 53| Rank | Project | Score |
|---|---|---|
| 1 | OmniRouteLLM gateway routing one OpenAI-compatible endpoint across 372 providers | 96 out of 100 |
| 2 | headroomCompresses tool outputs, logs and history before they reach the LLM | 92 out of 100 |
| 3 | new-apiGateway that unifies LLM providers behind OpenAI, Anthropic and Gemini APIs | 91 out of 100 |
| #4 | MLflowTracing, evaluation and prompt registry for LLM apps, plus ML tracking | 91 out of 100 |
| #5 | LiteLLMOpenAI-format gateway and Python SDK for calling 100+ LLM providers | 88 out of 100 |