Logfire - Uncomplicated Observability
summary
Logfire is an observability platform with an open source Python SDK and a commercial hosted service that starts sending telemetry with one line of code (or two). It auto‑instruments FastAPI, httpx and psycopg, provides distributed traces, shows database queries and EXPLAIN plans, and captures recursive function calls via auto tracing without editing application code. Search and analytics use Postgres‑flavored SQL (demo query count jumps from 88 to 90 as live data arrives). Backfill writes compressed protobuf to disk when the network fails.
AI-written summary · about
chapters (15)
- 0:00Introduction to Logfire
- 1:09What is Logfire
- 2:32Demo setup and assumptions
- 4:41Installing and configuring Logfire
- 6:03Manual instrumentation basics
- 7:15Automatic instrumentation with FastAPI
- 9:24Distributed tracing with client
- 10:48Analyzing slow database queries
- 11:31Auto-tracing for deeper insights
- 12:59Function-level instrumentation
- 13:43Advanced SQL searches in Logfire
- 15:45Exporting data for analytics
- 16:29Tracking exceptions and errors
- 17:11Key takeaways and benefits
- 18:37Q&A session begins
related talks
30mGenerative AI Monitoring with PydanticAI and Logfire
30mLogging Rethought 2: The Actions of Frank Taylor Jr.
31mThe Long and Winding Road to Application Logging [A]
39mMaking Logs Work for you with Fluentd
39mFast log management for your infrastructure
34mObservability - the practical approach
28mEasy logging refinement with FlowG
29mCloud Foundry Logging & Metrics
