You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can now install Logfire using the Helm chart, with the development dependencies enabled.
48
+
!!! warning
49
+
These development services are not suitable for production use. They lack persistence, backup, and security configurations.
42
50
43
51
Here is a minimal command to run Logfire in development mode, you can customize `adminEmail` if you want to access Logfire's self telemetry, but it's not required:
You can refer to the [Logfire Helm Chart](https://github.com/pydantic/logfire-helm-chart) documentation to check all the supported configurations.
69
+
Also check our [full installation guide](./installation.md) for a complete checklist and a detailed example `values.yaml` to get you started on your production setup.
61
70
62
-
63
-
## Using Logfire
64
-
65
-
To access your local Logfire installation from you host you'll need to port forward `logfire-service`:
Logfire can be deployed on-premises using the official [Logifre Helm Chart](https://github.com/pydantic/logfire-helm-chart). This allows organizations the ability to fully manage their own data.
4
+
5
+
This chart is included in our [Enterprise plan](../../enterprise.md). Contact us at [[email protected]](mailto:[email protected]) for details.
6
+
7
+
### Key Benefits
8
+
9
+
***Simplified Deployment:** Install and manage the entire application stack with a single command.
10
+
***Flexible Configuration:** Easily adjust resource allocation, ingress settings, and authentication to your needs.
11
+
***Production-Ready Defaults:** Built-in settings for high availability, resource limits, and health checks.
12
+
***Repeatable & Versioned:** Manage your application deployment as code, ensuring consistency across environments.
13
+
***Compliance Friendly:** Leverage your own infrastructure to meet internal security standards.
14
+
15
+
## System Requirements
16
+
17
+
**Logfire** has been built from the ground up to be horizontally scalable. The self-hosted version shares the same code as the public deployment, and so is able to scale to high volumes of traffic.
18
+
19
+
With that in mind, here are some minimum requirements that you will need to deploy logfire self-hosted:
20
+
21
+
- A **Kubernetes** Cluster version `1.32` or greater
22
+
- A **PostgreSQL** Database version `16` or greater
23
+
-**Object Storage** such as Amazon S3, Azure Blob Storage or Google Cloud Storage
24
+
- At least `512GB` or more local SSD scratch disk for ingest, compaction and caching
25
+
- A **DNS/Hostname** to serve Logfire on. This does not need to be Internet accessible, but will need to be accessed over HTTP from any client.
26
+
- An **Identity Provider** for Authenticating Users such as Github, Google or Microsoft. **Logfire** uses [Dex for authentication](https://dexidp.io/docs/connectors/)
27
+
28
+
Please view [installation](./installation.md) to find out how each of these are used.
29
+
30
+
## Client Configuration Instructions
31
+
32
+
After setting up the chart, you can send data to your **Logfire** Self-hosted instance by specifying the base url in advanced options:
The Self-hosted deployment has a number of interdependent services that work to run logfire. Each component can be scaled independently of others depending on the utilisation of the system.
46
+
47
+
### Service Dependency Diagram
48
+
49
+
```mermaid
50
+
graph
51
+
%% Entry point
52
+
LS[logfire-service:8080]
53
+
54
+
%% Core services
55
+
LB[logfire-backend:8000]
56
+
RD[logfire-redis:6379]
57
+
FIA[logfire-ff-ingest:8012]
58
+
FQA[logfire-ff-query-api:8011]
59
+
FCC[logfire-ff-cache:9001]
60
+
MW[logfire-maintenance-worker]
61
+
62
+
OS[(Object Storage)]
63
+
PG[(Postgres DB)]
64
+
65
+
%% Connections from entry point
66
+
LS --> LB
67
+
LS --> FIA
68
+
69
+
FQA --> FCC
70
+
FQA --> PG
71
+
FQA --> RD
72
+
FQA --> OS
73
+
74
+
LB --> FQA
75
+
LB --> RD
76
+
77
+
FIA --> PG
78
+
FIA --> RD
79
+
FIA --> OS
80
+
81
+
FCC --> OS
82
+
83
+
MW --> PG
84
+
MW --> OS
85
+
86
+
87
+
```
88
+
89
+
### Service Descriptions
90
+
91
+
#### Entry Point
92
+
-`logfire-service` (Port 8080): Main entry point for the system
93
+
94
+
#### Core Services
95
+
-`logfire-backend` (Port 8000): Backend service handling business logic, frontend and authentication
96
+
-`logfire-ff-ingest` (Port 8012): API for data ingestion
97
+
-`logfire-ff-query-api` (Port 8011): API for querying data
98
+
-`logfire-ff-maintenance-worker`: Maintenance Jobs
99
+
-`logfire-ff-compaction-worker`: Compaction Jobs
100
+
-`logfire-redis`: Live query streaming and autocomplete cache
101
+
-`logfire-ff-cache` (Port 9001 via `logfire-ff-conhash-cache` consistent hashing): Cache service
Copy file name to clipboardExpand all lines: docs/reference/self-hosted/scaling.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
**Logfire** is designed to be horizontally scalable, and can handle a lot of traffic. Depending on your usage patterns, however, you may be required to scale certain pods in order to maintain performance.
4
4
5
-
Please use the [architecture](./architecture.md) diagram as reference.
5
+
Please use the [architecture](./overview.md#service-architecture) diagram as reference.
0 commit comments