langfuse-extraction

Extracts Langfuse Cloud API traces, observations, and metrics for debugging, telemetry analysis, and audit trails.

1|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/Danik911/thesis_project --skill langfuse-extraction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langfuse-extraction
Source: https://github.com/Danik911/thesis_project/tree/main/.claude/skills/langfuse-extraction
Command: npx skills add https://github.com/Danik911/thesis_project --skill langfuse-extraction

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires langfuse, pandas, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Extracts traces, observations, and metrics from Langfuse Cloud for debugging, analytics, and regulatory audit trails, enabling ALCOA+ compliant reports and dataframe exports.

Core Features & Use Cases

  • Trace extraction: Retrieve recent traces with filtering by time, user, session, or tags.
  • Observations detail: Get span-level data for in-depth analysis.
  • Audit trail exports: Generate ALCOA+ compliant reports and export to pandas DataFrame.

Quick Start

Export the most recent 24 hours of pharmaceutical traces to recent_traces.json.

Frequently Asked Questions about langfuse-extraction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract traces from Langfuse for audit compliance?

Extract traces, observations, and metrics directly from Langfuse Cloud API with built-in ALCOA+ and GAMP-5 compliance. Filter by time range, user, session, or tags, then export to pandas DataFrame, JSON, CSV, or Parquet for regulatory review and audit trail documentation.

Can I export Langfuse traces to pandas for analysis?

Yes. Export Langfuse traces with span-level observation detail to pandas DataFrame, enabling token usage analysis, cost tracking across sessions, and time-range or user-based filtering for debugging and telemetry review.

What's the best way to generate ALCOA+ compliant audit reports from LLM traces?

Extract traces and observations from Langfuse Cloud API using time-range and session filtering, then export to DataFrame or JSON formats. The extraction meets ALCOA+ and GAMP-5 traceability requirements for regulatory audit trails and production issue investigation.

Does Langfuse trace extraction support filtering by user and session?

Yes. Langfuse trace extraction supports filtering by time range, user, session, and tags. Export filtered results to pandas, JSON, CSV, or Parquet for targeted analysis and regulatory compliance documentation.

How do I debug production LLM issues using Langfuse trace exports?

Extract recent traces and span-level observations from Langfuse with time and user filtering, then export to pandas DataFrame for in-depth telemetry analysis, token usage review, and root-cause investigation across sessions.

Can I use Langfuse trace extraction for cost and token usage analysis?

Yes. Extract traces and metrics from Langfuse Cloud with session and time-range filtering to analyze LLM token consumption and costs. Export to pandas DataFrame or CSV for aggregation and trend analysis across production deployments.