Skip to content

Observability ​

Prometheus ServiceMonitor ​

Enable a Prometheus ServiceMonitor to scrape operator and Langfuse metrics:

yaml
spec:
  observability:
    serviceMonitor:
      enabled: true
      interval: "30s"
      labels:
        release: prometheus       # match your Prometheus selector

Operator Metrics ​

MetricTypeDescription
langfuse_operator_reconcile_totalCounterReconciliation count by controller and result
langfuse_operator_reconcile_errors_totalCounterError count by controller
langfuse_operator_reconcile_duration_secondsHistogramReconciliation duration
langfuse_operator_managed_instancesGaugeNumber of managed instances

Instance Metrics ​

MetricTypeDescription
langfuse_instance_web_replicasGaugeWeb replica count
langfuse_instance_worker_replicasGaugeWorker replica count
langfuse_instance_worker_queue_depthGaugeWorker queue depth
langfuse_instance_clickhouse_storage_used_bytesGaugeClickHouse disk usage
langfuse_instance_circuit_breaker_activeGaugeCircuit breaker state (0/1)
langfuse_instance_secret_rotation_totalCounterSecret rotation events

OpenTelemetry ​

Send traces from Langfuse itself to an OTEL collector:

yaml
spec:
  observability:
    otel:
      enabled: true
      endpoint: "otel-collector.monitoring.svc:4317"
      protocol: grpc       # grpc | http

Langfuse Telemetry ​

Langfuse sends anonymous usage telemetry by default. To disable:

yaml
spec:
  security:
    telemetry:
      enabled: false

Released under the Apache 2.0 License.