Skip to main content

Langfuse Observability

Production observability with Langfuse.

Environment Variables

Features

Quick Start

1

Simple Usage

2

With Configuration

Adjust observability adapter options and agent settings for production — see the sections above.

Multi-Agent Tracing

Troubleshooting

Missing API Keys

Solution: Set both LANGFUSE_SECRET_KEY and LANGFUSE_PUBLIC_KEY.

Traces Not Appearing

Solution: Ensure you call await obs.flush() before the process exits.

Langfuse CLI Usage

Langfuse CLI Usage

Observability Overview

Observability Overview