#3434th of 53 in Gateways and observability

logfire

Python SDK for OpenTelemetry tracing, with a SQL-queryable hosted backend

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
Also in Gateways and observability
RankProjectScore
1OmniRouteLLM gateway routing one OpenAI-compatible endpoint across 372 providers86.8k stars+11,398 (+15%) in 30 daysMIT96 out of 100
2headroomCompresses tool outputs, logs and history before they reach the LLM79.5k stars+4,550 (+6.1%) in 30 daysApache-2.092 out of 100
3new-apiGateway that unifies LLM providers behind OpenAI, Anthropic and Gemini APIs51.8k starsAGPL-3.0known advisory in latest version91 out of 100
#4MLflowTracing, evaluation and prompt registry for LLM apps, plus ML tracking Live demo ↗ (opens in a new tab)28.8k starsApache-2.091 out of 100
#5LiteLLMOpenAI-format gateway and Python SDK for calling 100+ LLM providers63.2k starscustom license88 out of 100