Skip to content

Commit

Permalink
feat: add s3 concurrency options (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen911 authored Mar 5, 2025
1 parent cba8856 commit 7b9c55f
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/langfuse/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: langfuse
version: 1.0.0-rc.6
version: 1.0.0-rc.7
description: Open source LLM engineering platform - LLM observability, metrics, evaluations, prompt management.
type: application
keywords:
Expand Down
4 changes: 3 additions & 1 deletion charts/langfuse/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# langfuse

![Version: 1.0.0-rc.6](https://img.shields.io/badge/Version-1.0.0--rc.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.29.1](https://img.shields.io/badge/AppVersion-3.29.1-informational?style=flat-square)
![Version: 1.0.0-rc.7](https://img.shields.io/badge/Version-1.0.0--rc.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.29.1](https://img.shields.io/badge/AppVersion-3.29.1-informational?style=flat-square)

Open source LLM engineering platform - LLM observability, metrics, evaluations, prompt management.

Expand Down Expand Up @@ -189,6 +189,8 @@ Open source LLM engineering platform - LLM observability, metrics, evaluations,
| s3.batchExport.region | string | `""` | S3 region to use for batch exports. |
| s3.batchExport.secretAccessKey | object | `{"secretKeyRef":{"key":"","name":""},"value":""}` | S3 secretAccessKey to use for batch exports. |
| s3.bucket | string | `""` | S3 bucket to use for all uploads. Can be overridden per upload type. |
| s3.concurrency.reads | int | `50` | Maximum number of concurrent read operations to S3. Defaults to 50. |
| s3.concurrency.writes | int | `50` | Maximum number of concurrent write operations to S3. Defaults to 50. |
| s3.defaultBuckets | string | `"langfuse"` | |
| s3.deploy | bool | `true` | Enable MinIO deployment (via Bitnami Helm Chart). If you want to use a custom BlobStorage, e.g. S3, set to false. |
| s3.endpoint | string | `""` | S3 endpoint to use for all uploads. Can be overridden per upload type. |
Expand Down
10 changes: 10 additions & 0 deletions charts/langfuse/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,16 @@ Get value of a specific environment variable from additionalEnv if it exists
value: {{ .Values.s3.mediaUpload.maxContentLength | quote }}
- name: LANGFUSE_S3_MEDIA_UPLOAD_DOWNLOAD_URL_EXPIRY_SECONDS
value: {{ .Values.s3.mediaUpload.downloadUrlExpirySeconds | quote }}
{{- if hasKey .Values.s3 "concurrency" }}
{{- if hasKey .Values.s3.concurrency "reads" }}
- name: LANGFUSE_S3_CONCURRENT_READS
value: {{ .Values.s3.concurrency.reads | quote }}
{{- end }}
{{- if hasKey .Values.s3.concurrency "writes" }}
- name: LANGFUSE_S3_CONCURRENT_WRITES
value: {{ .Values.s3.concurrency.writes | quote }}
{{- end }}
{{- end }}
{{- end -}}

{{/*
Expand Down
7 changes: 7 additions & 0 deletions charts/langfuse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,13 @@ s3:
name: ""
key: ""

# S3 Concurrency Configuration
concurrency:
# -- Maximum number of concurrent read operations to S3. Defaults to 50.
reads: 50
# -- Maximum number of concurrent write operations to S3. Defaults to 50.
writes: 50

# Event Upload Configuration
eventUpload:
# -- S3 bucket to use for event uploads.
Expand Down

0 comments on commit 7b9c55f

Please sign in to comment.