Skip to content

Langfuse

The Langfuse integration allows you to import your Langfuse LLM tracing data directly into Trubrics for unified analytics and insights.

Setup

  1. Navigate to the Integrations section in your Trubrics project
  2. Provide your Langfuse credentials:
  3. Langfuse API Key
  4. Langfuse Secret Key
  5. Langfuse Host URL (defaults to https://cloud.langfuse.com)

How It Works

  • The integration automatically fetches trace data from your Langfuse account
  • Traces are mapped to Trubrics events using configurable mapping rules
  • Standard events like "User Prompt" and "LLM Generation" are automatically detected
  • All events include a direct link back to the original trace in Langfuse

Advanced Configuration

Advanced users can customize the mapping rules to fine-tune how Langfuse data is imported into Trubrics, allowing for tailored analytics and insights.

See our tutorial video for more details about automated integration with mapping rules: