Skip to main content
Langfuse is an open‑source observability platform for LLM applications that provides tracing, monitoring, and debugging. The integration is built into the Launchpad’s core folder.
You can self‑host for full data control and privacy, which is useful when sensitive data must stay within your infrastructure.

Why Langfuse?

  • Complete Tracing: Track every workflow step, node execution, and LLM call
  • Performance Monitoring: Monitor response times, costs, and success rates
  • Debug Issues: Detailed logs and traces for troubleshooting failures
Datalumina uses this integration in production to monitor and trace workflows.

Quick Setup

1

Get Langfuse Account

Create a free account at langfuse.com and get your API keys
2

Update Environment

Add to your .env files:
  LANGFUSE_PUBLIC_KEY=
  LANGFUSE_SECRET_KEY=

  # For EU use: `https://cloud.langfuse.com/api/public/otel`
  OTEL_EXPORTER_OTLP_ENDPOINT=https://cloud.langfuse.com/api/public/otel
  # For US use: `https://us.cloud.langfuse.com/api/public/otel`
  #OTEL_EXPORTER_OTLP_ENDPOINT=https://us.cloud.langfuse.com/api/public/otel
3

Checkout Example Branch

git checkout example/langfuse
4

Test Integration

python playground/workflow_playground.py
5

Verify Dashboard

Check your Langfuse dashboard for workflow traces

Core integration features

  • Automatic Tracing: Every workflow execution is automatically traced with no code changes required
  • Node-Level Visibility: Individual node executions, inputs, and outputs are captured
  • LLM Call Tracking: All LLM interactions including prompts, responses, and metadata
  • Error Monitoring: Failed executions with full stack traces and context

Dashboard features

Workflow traces

View complete workflow execution paths with timing, inputs, and outputs for each node.

Performance analytics

Monitor average response times, success rates, and cost analysis across workflows.

LLM usage tracking

Track token usage, model performance, and costs across different LLM providers.

Debug information

Detailed error logs with full context when workflows fail or perform unexpectedly.
I