Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 to present Pydantic Services Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 2 additions & 2 deletions charts/logfire/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v2
version: 0.13.7
version: 0.13.8
name: logfire
description: Helm chart for self-hosted Pydantic Logfire

appVersion: "f355af55"
appVersion: "d7a0b5d1"

dependencies:
- name: postgresql
Expand Down
6 changes: 3 additions & 3 deletions charts/logfire/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# logfire

![Version: 0.13.7](https://img.shields.io/badge/Version-0.13.7-informational?style=flat-square) ![AppVersion: f355af55](https://img.shields.io/badge/AppVersion-f355af55-informational?style=flat-square)
![Version: 0.13.8](https://img.shields.io/badge/Version-0.13.8-informational?style=flat-square) ![AppVersion: d7a0b5d1](https://img.shields.io/badge/AppVersion-d7a0b5d1-informational?style=flat-square)

Helm chart for self-hosted Pydantic Logfire

This chart exists as public documentation of how to set up and run self-hosted Pydantic Logfire but requires an image pull key to actually use.
**Self-hosted Logfire is an Enterprise offering that requires a contract and payment, it is not free software**. Please contact sales@pydantic.dev to discuss setting up a contract and pricing.
This repository and the chart source it contains are licensed under the MIT License. Deploying the official self-hosted Pydantic Logfire product requires separate commercial access to private container images.
**Self-hosted Logfire is an Enterprise offering that requires a contract and payment.** Please contact sales@pydantic.dev to discuss setting up a contract and pricing.

## Local Quickstart (Evaluation & Testing)

Expand Down
4 changes: 2 additions & 2 deletions charts/logfire/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

{{ template "chart.description" . }}

This chart exists as public documentation of how to set up and run self-hosted Pydantic Logfire but requires an image pull key to actually use.
**Self-hosted Logfire is an Enterprise offering that requires a contract and payment, it is not free software**. Please contact sales@pydantic.dev to discuss setting up a contract and pricing.
This repository and the chart source it contains are licensed under the MIT License. Deploying the official self-hosted Pydantic Logfire product requires separate commercial access to private container images.
**Self-hosted Logfire is an Enterprise offering that requires a contract and payment.** Please contact sales@pydantic.dev to discuss setting up a contract and pricing.

## Local Quickstart (Evaluation & Testing)

Expand Down
5 changes: 4 additions & 1 deletion charts/logfire/templates/logfire-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -290,17 +290,20 @@ spec:
secretKeyRef:
name: {{ include "logfire.adminSecretName" (dict "ctx" . "secretName" "logfire-admin-totp-recovery-codes") }}
key: logfire-admin-totp-recovery-codes
{{- /* MCP OAuth2 is not supported without TLS for hostnames different than localhost */ -}}
{{- if or (include "logfire.effective_tls" . | eq "true") (eq (include "logfire.primary_hostname" .) "localhost") }}
- name: MCP_OAUTH_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: {{ include "logfire.secretName" (dict "ctx" . "secretName" "logfire-mcp-oauth-client-secret") }}
key: logfire-mcp-oauth-client-secret
{{- end }}
{{- include "logfire.groupOrganizationMapping" . | nindent 12 }}
- name: BOOTSTRAPPED_ORGANIZATIONS
# This will make it possible to log-in sans-credentials by visiting a URL like:
# http://localhost:8080/logfire-meta/logfire-meta#token=U8TO1taNdD7YwgBMcfeQVU7RB6Hgtrwd
# You'll need to get the right host and get the secret from k8s
value: '[{"admin_user_email": "{{ .Values.adminEmail }}", "admin_user_password": "$(ADMIN_PASSWORD)", "admin_user_totp_secret": "$(ADMIN_TOTP_SECRET)", "admin_user_totp_recovery_codes": $(ADMIN_TOTP_RECOVERY_CODES), "organization_name": "logfire-meta", "projects": [{"project_name": "logfire-meta", "write_token": "$(META_WRITE_TOKEN)", "permanent_frontend_token": "$(META_FRONTEND_TOKEN)"}], "oauth_clients": [{"client_id": "logfire-mcp", "client_secret": "$(MCP_OAUTH_CLIENT_SECRET)", "client_name": "Logfire Remote MCP Server", "redirect_uris": ["{{ include "logfire.url" . }}/mcp/oauth/callback"], "allowed_scopes": ["project:read", "project:write", "project:write_token", "project:read_dashboard", "project:write_dashboard", "project:read_alert", "project:write_alert", "organization:create_project", "organization:read_channel", "organization:write_channel"]}]}]'
value: '[{"admin_user_email": "{{ .Values.adminEmail }}", "admin_user_password": "$(ADMIN_PASSWORD)", "admin_user_totp_secret": "$(ADMIN_TOTP_SECRET)", "admin_user_totp_recovery_codes": $(ADMIN_TOTP_RECOVERY_CODES), "organization_name": "logfire-meta", "projects": [{"project_name": "logfire-meta", "write_token": "$(META_WRITE_TOKEN)", "permanent_frontend_token": "$(META_FRONTEND_TOKEN)"}]{{- if or (include "logfire.effective_tls" . | eq "true") (eq (include "logfire.primary_hostname" .) "localhost") }}, "oauth_clients": [{"client_id": "logfire-mcp", "client_secret": "$(MCP_OAUTH_CLIENT_SECRET)", "client_name": "Logfire Remote MCP Server", "redirect_uris": ["{{ include "logfire.url" . }}/mcp/oauth/callback"], "allowed_scopes": ["project:read", "project:write", "project:write_token", "project:read_dashboard", "project:write_dashboard", "project:read_alert", "project:write_alert", "organization:create_project", "organization:read_channel", "organization:write_channel"]}]{{- end }}}]'
{{- with (index .Values $serviceName | default dict).env }}
{{- . | toYaml | nindent 12 }}
{{- end}}
Expand Down
3 changes: 3 additions & 0 deletions charts/logfire/templates/logfire-ff-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ data:
FF_CACHE_OBJECT_STORE_URI: "{{ include "logfire.scheme" . }}://logfire-ff-cache-byte:{{ include "logfire.port" (dict "port" 9001 "root" .) }}"
FF_SHARED_REDIS_DSN: {{ .Values.redisDsn }}
FF_OBJECT_STORE_URI: {{ .Values.objectStore.uri }}
FF_PG_TRANSACTION_TIMEOUT: "30s"
{{- if (include "logfire.inClusterTls.enabled" . | eq "true") }}
FF_TLS_MODE: "allow"
FF_HTTPS_PORT: {{ .Values.inClusterTls.httpsPort | quote }}
Expand Down Expand Up @@ -65,6 +66,7 @@ data:
FF_CACHE_OBJECT_STORE_HTTP_HEADERS: x-ff-no-warm-cache=1
FF_COMPACTION_LOOP_BACKOFF_DELAY: "1s"
FF_COMPACTION_TIERS: {{ include "logfire.ffCompactionTiersValue" . | squote }}
FF_INGEST_MAX_TIME_SKEW: "120s"

---

Expand All @@ -79,5 +81,6 @@ data:
FF_BACKEND_SERVICE_URL: "{{ include "logfire.scheme" . }}://logfire-backend:{{ include "logfire.port" (dict "port" 8000 "root" .) }}"
FF_REDIS_TAIL_DSN: {{ .Values.redisDsn }}
FF_FAILOVER_OBJECT_STORE_URI: {{ .Values.objectStore.uri }}/_ingest_failover
FF_INGEST_MAX_TIME_SKEW: "120s"
FF_INGEST_MAX_FUTURE_TIME_DRIFT: "1h"
FF_INGEST_MAX_PAST_TIME_DRIFT: "24h"
Loading