Architecture
Self-hosted Logfire is made up of independent Kubernetes workloads plus production infrastructure that you provide. The exact rendered workloads depend on the Helm chart version and feature flags, so use the Logfire Helm chart README and values reference for chart-version-specific details.
graph
Client[SDKs, browsers, and API clients]
Edge[logfire-service]
Frontend[logfire-frontend-service]
Backend[logfire-backend]
Ingest[logfire-ff-ingest]
Processor[logfire-ff-ingest-processor]
Query[logfire-ff-query-api]
Crud[logfire-ff-crud-api]
Cache[logfire-ff-cache-byte]
Workers[maintenance and compaction workers]
Dex[logfire-dex]
Redis[logfire-redis]
Postgres[(PostgreSQL)]
ObjectStore[(Object Storage)]
IdP[Identity Provider]
Client --> Edge
Edge --> Frontend
Edge --> Backend
Edge --> Ingest
Backend --> Dex
Dex --> IdP
Backend --> Crud
Backend --> Redis
Ingest --> Processor
Processor --> ObjectStore
Processor --> Postgres
Query --> Cache
Query --> Postgres
Query --> ObjectStore
Crud --> Postgres
Workers --> Postgres
Workers --> ObjectStore
Cache --> ObjectStore
- Edge and frontend:
logfire-serviceroutes public traffic;logfire-frontend-serviceserves frontend assets. - Application backend:
logfire-backendhandles application APIs, authentication integration, and UI backend behavior. - Ingest path:
logfire-ff-ingestreceives telemetry;logfire-ff-ingest-processorprocesses and writes it. - Query path:
logfire-ff-query-apireads telemetry from object storage and metadata from PostgreSQL. Some deployments can also renderlogfire-ff-query-worker. - Metadata APIs:
logfire-ff-crud-apihandles project, organization, dashboard, and related metadata operations. - Cache and coordination:
logfire-ff-cache-bytebacks query caching;logfire-redissupports live query streaming and autocomplete cache. - Background work:
logfire-ff-maintenance-workerandlogfire-ff-compaction-workerhandle maintenance and compaction. - Identity:
logfire-dexintegrates Logfire with your identity provider. - Internal telemetry:
logfire-otel-collectorsends Logfire’s own telemetry to the meta project. - Optional features: the chart can render feature-specific workloads such as
logfire-remote-mcpandlogfire-ai-gateway.
Self-hosted Logfire depends on production-grade infrastructure outside the chart:
- PostgreSQL stores application metadata, identity data, and FusionFire metadata for files in object storage.
- Object storage stores telemetry data.
- An identity provider supplies user authentication through Dex.
- Ingress, Gateway API, or your routing layer exposes
logfire-serviceon a stable hostname.
Telemetry payloads are stored in object storage, not PostgreSQL.