Skip to content

Commit c888b96

Browse files
committed
Update langfuse dependency to version 3.3.4 across multiple services and libraries; enhance tracing in TracedRunnable to include input and output in span updates.
1 parent 5d453c5 commit c888b96

13 files changed

Lines changed: 208 additions & 530 deletions

File tree

infrastructure/rag/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dependencies:
22
- name: langfuse
33
repository: https://langfuse.github.io/langfuse-k8s
4-
version: 0.12.1
4+
version: 1.5.1
55
- name: qdrant
66
repository: https://qdrant.github.io/qdrant-helm
77
version: 1.12.6
@@ -14,5 +14,5 @@ dependencies:
1414
- name: ollama
1515
repository: https://otwld.github.io/ollama-helm/
1616
version: 1.1.0
17-
digest: sha256:9c99676d554fe68802c434b3daac2d50778e38d2793d10b84d1f4d6d78f99726
18-
generated: "2025-07-02T12:36:38.510315+02:00"
17+
digest: sha256:02781b4c97462f6c600d3fadf7127790482a20e537596fed4722ef912d15ec00
18+
generated: "2025-09-03T15:42:41.704412+02:00"

infrastructure/rag/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ appVersion: "1.0.0"
1010
dependencies:
1111
- name: langfuse
1212
repository: https://langfuse.github.io/langfuse-k8s
13-
version: "0.12.1"
13+
version: "1.5.1"
1414
condition: features.langfuse.enabled
1515
- name: qdrant
1616
version: 1.12.6

infrastructure/rag/values.yaml

Lines changed: 108 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -445,25 +445,39 @@ shared:
445445

446446

447447
langfuse:
448-
minio:
449-
deploy: false
450-
valkey:
451-
deploy: false #<--- keydb is used instead of valkey
452-
image:
453-
repository: ghcr.io/langfuse/langfuse
454-
pullPolicy: Always
455-
tag: "3.27.2"
456-
postgresql:
457-
deploy: true
458-
auth:
459-
username: postgres
460-
password: postgres
461-
database: langfuse
448+
# Core Langfuse Configuration
462449
langfuse:
450+
# Used to hash API keys
451+
salt:
452+
value: "changeme"
453+
454+
# Authentication settings
455+
features:
456+
telemetryEnabled: true
457+
signUpDisabled: false
458+
459+
# Web deployment configuration
460+
web:
461+
image:
462+
repository: langfuse/langfuse
463+
tag: "3.106.3"
464+
pullPolicy: Always
465+
466+
# Worker deployment configuration
467+
worker:
468+
image:
469+
repository: langfuse/langfuse-worker
470+
tag: "3.106.3"
471+
pullPolicy: Always
472+
port: 3030
473+
474+
# NextAuth configuration
463475
nextauth:
464476
url: http://localhost:3000
465-
secret: changeme
466-
salt: changeme
477+
secret:
478+
value: "changeme"
479+
480+
# Additional environment variables (only for init values)
467481
additionalEnv:
468482
- name: LANGFUSE_INIT_ORG_ID
469483
value: ""
@@ -479,33 +493,8 @@ langfuse:
479493
value: ""
480494
- name: LANGFUSE_INIT_USER_PASSWORD
481495
value: ""
482-
# REDIS
483-
- name: "REDIS_CONNECTION_STRING"
484-
value: "redis://rag-keydb:6379"
485-
# CLICKHOUSE
486-
- name: "CLICKHOUSE_MIGRATION_URL"
487-
value: "clickhouse://rag-clickhouse:9000"
488-
- name: "CLICKHOUSE_URL"
489-
value: "http://rag-clickhouse:8123"
490-
- name: "CLICKHOUSE_USER"
491-
value: "default"
492-
- name: "CLICKHOUSE_PASSWORD"
493-
value: "changeme"
494-
# S3 / MinIO
495-
- name: "LANGFUSE_S3_EVENT_UPLOAD_ENABLED"
496-
value: "true"
497-
- name: "LANGFUSE_S3_EVENT_UPLOAD_BUCKET"
498-
value: "langfuse"
499-
- name: "LANGFUSE_S3_EVENT_UPLOAD_REGION"
500-
value: "auto"
501-
- name: "LANGFUSE_S3_EVENT_UPLOAD_ACCESS_KEY_ID"
502-
value: "admin"
503-
- name: "LANGFUSE_S3_EVENT_UPLOAD_SECRET_ACCESS_KEY"
504-
value: "adminpassword"
505-
- name: "LANGFUSE_S3_EVENT_UPLOAD_ENDPOINT"
506-
value: "http://rag-minio:9000"
507-
- name: "LANGFUSE_S3_EVENT_UPLOAD_FORCE_PATH_STYLE"
508-
value: "true"
496+
497+
# Additional init containers
509498
extraInitContainers:
510499
- name: wait-for-postgres
511500
image: busybox
@@ -520,6 +509,77 @@ langfuse:
520509
# Define a reasonable timeout in case PostgreSQL fails to come up
521510
timeoutSeconds: 300
522511

512+
# PostgreSQL Configuration (use external PostgreSQL)
513+
postgresql:
514+
deploy: true
515+
host: "rag-postgresql"
516+
port: 5432
517+
auth:
518+
username: postgres
519+
password: postgres
520+
database: langfuse
521+
522+
# Redis Configuration (external KeyDB)
523+
redis:
524+
deploy: false
525+
host: "rag-keydb"
526+
port: 6379
527+
auth:
528+
username: "default"
529+
password: ""
530+
531+
# ClickHouse Configuration (external ClickHouse)
532+
clickhouse:
533+
deploy: true
534+
host: "rag-clickhouse"
535+
httpPort: 8123
536+
nativePort: 9000
537+
auth:
538+
username: "default"
539+
password: "changeme"
540+
migration:
541+
url: "clickhouse://rag-clickhouse:9000"
542+
ssl: false
543+
autoMigrate: true
544+
resources:
545+
limits:
546+
cpu: "2"
547+
memory: "8Gi"
548+
requests:
549+
cpu: "2"
550+
memory: "4Gi"
551+
552+
zookeeper:
553+
resources:
554+
limits:
555+
cpu: "2"
556+
memory: "2Gi"
557+
requests:
558+
cpu: "1"
559+
memory: "1Gi"
560+
561+
# S3/MinIO Configuration (external MinIO)
562+
s3:
563+
deploy: false
564+
bucket: "langfuse"
565+
region: "auto"
566+
endpoint: "http://rag-minio:9000"
567+
forcePathStyle: true
568+
accessKeyId:
569+
value: "admin"
570+
secretAccessKey:
571+
value: "adminpassword"
572+
eventUpload:
573+
enabled: true
574+
bucket: "langfuse"
575+
region: "auto"
576+
endpoint: "http://rag-minio:9000"
577+
forcePathStyle: true
578+
accessKeyId:
579+
value: "admin"
580+
secretAccessKey:
581+
value: "adminpassword"
582+
523583
minio:
524584
auth:
525585
## @param auth.rootUser MinIO&reg; root username
@@ -537,10 +597,6 @@ minio:
537597
enabled: false
538598
mode: standalone
539599

540-
541-
542-
543-
544600
ollama:
545601
image:
546602
tag: 0.5.1
@@ -556,3 +612,8 @@ ollama:
556612
qdrant:
557613
image:
558614
tag: v1.14.1
615+
616+
keydb:
617+
multiMaster: "no"
618+
activeReplicas: "no"
619+
nodes: 1

libs/admin-api-lib/poetry.lock

Lines changed: 7 additions & 108 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/admin-api-lib/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ python-dateutil = "^2.9.0.post0"
104104
tenacity = "9.1.2"
105105
boto3 = "^1.38.10"
106106
tqdm = "^4.67.1"
107-
langfuse = "3.0.0"
107+
langfuse = "3.3.4"
108108
redis = "^6.0.0"
109109
pyyaml = "^6.0.2"
110110
python-multipart = "^0.0.20"

0 commit comments

Comments
 (0)