docs: Add Langfuse cloud integration documentation#1384
Draft
Alan-Cha wants to merge 1 commit into
Draft
Conversation
Add comprehensive documentation for integrating Kagenti with Langfuse cloud service for LLM observability and trace collection. ## What's Added - docs/langfuse-integration.md: Complete integration guide including: - Langfuse cloud account setup instructions - API key generation and configuration - OTEL collector configuration for trace export - Agent instrumentation with GenAI semantic conventions - Testing and verification procedures - Cost tracking explanation - Troubleshooting guide - deployments/envs/langfuse-cloud-values.yaml.example: Helm values template for configuring OTEL collector to export traces to Langfuse cloud - README.md: Updated observability section to reference Langfuse (fixed typo: Langflow -> Langfuse) and added LLM Observability documentation links - .gitignore: Added langfuse-cloud-values.yaml to prevent committing API keys ## Why Langfuse Cloud vs Self-Hosted Attempts to deploy Langfuse v3 self-hosted on Mac M1 with Kind/Rancher failed due to ClickHouse compatibility issues with nested virtualization. ClickHouse hangs during startup in the Mac M1 -> Podman/Lima -> Kind -> ClickHouse stack. Langfuse cloud provides: - No infrastructure management (no ClickHouse, Redis, PostgreSQL, MinIO, Worker) - Works from any cluster (Kind, cloud, OpenShift) - Free tier available (Hobby plan, no credit card) - Production-ready with automatic scaling and HA ## Cleanup Removed temporary investigation/research markdown files that were used during debugging but should not be in the main repository: - ARCHITECTURE_EXPLAINED.md - CLICKHOUSE_*.md (3 files) - END_TO_END_SUCCESS.md - LANGFUSE_*.md (4 files) - PODMAN_COMPOSE_SUCCESS.md These were interim documentation files created during troubleshooting and are not needed for the final integration documentation. Resolves investigation into LLM observability options for Kagenti on Mac M1 development environments. Signed-off-by: Alan Cha <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Comprehensive documentation for integrating Kagenti with Langfuse cloud for LLM observability.
What's Included
docs/langfuse-integration.md(650+ lines) - Complete integration guide covering:deployments/envs/langfuse-cloud-values.yaml.example- Helm values template for OTEL configurationUpdated
README.md- Fixed Langfuse typo and added LLM Observability sectionUpdated
.gitignore- Protected actual API keys from being committedWhy Langfuse Cloud?
Self-hosted Langfuse v3 requires ClickHouse, which is incompatible with nested virtualization on Mac M1 (Kind/Rancher). Cloud solution provides:
Testing
Tested with weather agent demo - traces successfully flow to Langfuse cloud dashboard with automatic cost tracking and GenAI semantic convention support.
Related
Addresses requirements for LLM observability integration with Kagenti platform.
Branch:
langfuse-docs-cleanCommit: 455d7a1