langfuse-observability

Featured

Set up comprehensive observability for Langfuse with metrics, dashboards, and alerts. Use when implementing monitoring for LLM operations, setting up dashboards, or configuring alerting for Langfuse integration health. Trigger with phrases like "langfuse monitoring", "langfuse metrics", "langfuse observability", "monitor langfuse", "langfuse alerts", "langfuse dashboard".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Langfuse Observability ## Overview Set up monitoring for your Langfuse integration: Prometheus metrics for trace/generation throughput, Grafana dashboards, alert rules, and integration with Langfuse's built-in analytics dashboards and Metrics API. ## Prerequisites - Langfuse SDK integrated and producing traces - For custom metrics: Prometheus + Grafana (or compatible stack) - For Langfuse analytics: access to the Langfuse UI dashboard ## Instructions ### Step 1: Langfuse Built-In Dashboards Langfuse provides pre-built dashboards in the UI at `https://cloud.langfuse.com` (or your self-hosted URL): - **Overview**: Total traces, generations, scores, and errors - **Cost Dashboard**: Token usage and costs over time, broken down by model, user, session - **Latency Dashboard**: Response times across models and user segments - **Custom Dashboards**: Build your own with the query engine (multi-level aggregations, filters by user/model/tag) **Accessing via Metrics API:** ```typescript import { LangfuseClient } from "@langfuse/client"; const langfuse = new LangfuseClient(); // Fetch aggregated metrics programmatically const traces = await langfuse.api.traces.list({ fromTimestamp: new Date(Date.now() - 3600000).toISOString(), // Last hour limit: 100, }); console.log(`Traces in last hour: ${traces.data.length}`); // Get observations with cost data const observations = await langfuse.api.observations.list({ type: "GENERATION", fromTimestamp: new Date(Date.now() - 86400...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category