langfuse-common-errors

Featured

Diagnose and fix common Langfuse errors and exceptions. Use when encountering Langfuse errors, debugging missing traces, or troubleshooting integration issues. Trigger with phrases like "langfuse error", "fix langfuse", "langfuse not working", "debug langfuse", "traces not appearing".

AI & Automation 2,266 stars 315 forks Updated today 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 Common Errors ## Overview Diagnostic reference for the 10 most common Langfuse integration errors, with real error messages, root causes, and tested solutions. ## Prerequisites - Langfuse SDK installed - API credentials configured - Access to application logs or console output ## Error Reference ### 1. Authentication Failed (401) **Error:** ``` Langfuse: Unauthorized - Invalid API key Error: 401 Unauthorized ``` **Cause:** API key missing, expired, revoked, or keys from wrong project. **Fix:** ```bash set -euo pipefail # Verify env vars are set echo "Public: ${LANGFUSE_PUBLIC_KEY:0:15}..." echo "Secret: ${LANGFUSE_SECRET_KEY:0:10}..." # Test auth against API HOST="${LANGFUSE_BASE_URL:-https://cloud.langfuse.com}" curl -s -o /dev/null -w "HTTP %{http_code}" \ "$HOST/api/public/health" # Auth test curl -s -o /dev/null -w "HTTP %{http_code}" \ -H "Authorization: Basic $(echo -n "$LANGFUSE_PUBLIC_KEY:$LANGFUSE_SECRET_KEY" | base64)" \ "$HOST/api/public/traces?limit=1" ``` ### 2. Traces Not Appearing in Dashboard **Symptom:** Code runs without errors but no traces show in UI. **Root causes (in order of likelihood):** 1. Data not flushed before process exits 2. Wrong project keys (traces going to different project) 3. Dashboard filter hiding traces **Fix:** ```typescript // v4+: Ensure OTel SDK is shut down properly const sdk = new NodeSDK({ spanProcessors: [new LangfuseSpanProcessor()] }); sdk.start(); // ... your code ... await sdk.shutdown(); // MUS...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

langfuse-install-auth

Install and configure Langfuse SDK authentication for LLM observability. Use when setting up a new Langfuse integration, configuring API keys, or initializing Langfuse tracing in your project. Trigger with phrases like "install langfuse", "setup langfuse", "langfuse auth", "configure langfuse API key", "langfuse tracing setup".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-observability

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".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-hello-world

Create a minimal working Langfuse trace example. Use when starting a new Langfuse integration, testing your setup, or learning basic Langfuse tracing patterns. Trigger with phrases like "langfuse hello world", "langfuse example", "langfuse quick start", "first langfuse trace", "simple langfuse code".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-incident-runbook

Troubleshoot and respond to Langfuse-related incidents and outages. Use when experiencing Langfuse outages, debugging production issues, or responding to LLM observability incidents. Trigger with phrases like "langfuse incident", "langfuse outage", "langfuse down", "langfuse production issue", "langfuse troubleshoot".

2,266 Updated today
jeremylongshore
AI & Automation Solid

langfuse

Expert in Langfuse - the open-source LLM observability platform. Covers tracing, prompt management, evaluation, datasets, and integration with LangChain, LlamaIndex, and OpenAI. Essential for debugging, monitoring, and improving LLM applications in production. Use when: langfuse, llm observability, llm tracing, prompt management, llm evaluation.

27,681 Updated today
davila7