langfuse-migration-deep-dive

Featured

Execute complex Langfuse migrations including data migration and platform changes. Use when migrating from other observability platforms, moving between Langfuse instances, or performing major infrastructure migrations. Trigger with phrases like "langfuse migration", "migrate to langfuse", "langfuse data migration", "langfuse platform migration", "switch to langfuse".

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 Migration Deep Dive ## Current State !`npm list langfuse @langfuse/client 2>/dev/null | head -5 || echo 'No langfuse packages'` ## Overview Comprehensive guide for complex migrations: cloud-to-self-hosted, LangSmith-to-Langfuse, cross-instance data migration, and zero-downtime dual-write patterns. ## Prerequisites - Understanding of source and target Langfuse instances - API keys for both source and target - Git branch for migration work - Rollback plan documented ## Migration Scenarios | Scenario | Complexity | Downtime | Data Loss Risk | |----------|-----------|----------|----------------| | Cloud to Cloud (different project) | Low | None | None | | Cloud to Self-hosted | Medium | Minutes | Low | | Self-hosted to Cloud | Medium | Minutes | Low | | LangSmith to Langfuse | High | Hours | Medium | | SDK v3 to v4+ (no data migration) | Low | None | None | ## Instructions ### Step 1: Export Data from Source Instance ```typescript // scripts/export-langfuse.ts import { LangfuseClient } from "@langfuse/client"; import { writeFileSync, mkdirSync } from "fs"; const source = new LangfuseClient({ publicKey: process.env.SOURCE_LANGFUSE_PUBLIC_KEY, secretKey: process.env.SOURCE_LANGFUSE_SECRET_KEY, baseUrl: process.env.SOURCE_LANGFUSE_BASE_URL, }); async function exportAll(outputDir: string) { mkdirSync(outputDir, { recursive: true }); // Export traces let page = 1; let allTraces: any[] = []; let hasMore = true; console.log("Exporting traces...")...

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-upgrade-migration

Upgrade Langfuse SDK versions and migrate between API changes. Use when upgrading Langfuse SDK, handling breaking changes, or migrating between Langfuse versions. Trigger with phrases like "upgrade langfuse", "langfuse migration", "update langfuse SDK", "langfuse breaking changes", "langfuse version".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-data-handling

Manage Langfuse data export, retention, and compliance requirements. Use when exporting trace data, configuring retention policies, or implementing data compliance for LLM observability. Trigger with phrases like "langfuse data export", "langfuse retention", "langfuse GDPR", "langfuse compliance", "export langfuse traces".

2,266 Updated today
jeremylongshore
DevOps & Infrastructure Featured

langfuse-deploy-integration

Deploy Langfuse with your application across different platforms. Use when deploying Langfuse to Vercel, AWS, GCP, or Docker, or integrating Langfuse into your deployment pipeline. Trigger with phrases like "deploy langfuse", "langfuse Vercel", "langfuse AWS", "langfuse Docker", "langfuse production deploy".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-prod-checklist

Langfuse production readiness checklist and verification. Use when preparing to deploy Langfuse to production, validating production configuration, or auditing existing setup. Trigger with phrases like "langfuse production", "langfuse prod ready", "deploy langfuse", "langfuse checklist", "langfuse go live".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-reference-architecture

Production-grade Langfuse architecture patterns and best practices. Use when designing LLM observability infrastructure, planning Langfuse deployment, or implementing enterprise-grade tracing architecture. Trigger with phrases like "langfuse architecture", "langfuse design", "langfuse infrastructure", "langfuse enterprise", "langfuse at scale".

2,266 Updated today
jeremylongshore