docs: add server-side sampling configuration to scaling guide#2273
docs: add server-side sampling configuration to scaling guide#2273Steffen911 wants to merge 1 commit intomainfrom
Conversation
Add documentation for LANGFUSE_INGESTION_PROCESSING_SAMPLED_PROJECTS environment variable in the self-hosting scaling guide. This feature allows per-project trace sampling to reduce ingestion load. Key additions: - Configuration format and example - Deterministic hash-based sampling behavior - Trace-level sampling explanation - Comparison with client-side sampling - Link to client-side sampling documentation Positioned under "Ingestion Throughput" section for discoverability alongside other performance optimization features. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Currently this is limited to ingestions via the /api/public/ingestion route and does not apply to OTel spans. Needs server side update, before it can be published. |
📦 Next.js Bundle Analysis for langfuse-docsThis analysis was generated by the Next.js Bundle Analysis action. 🤖 One Page Changed SizeThe following page changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored. |
Summary
Adds documentation for the
LANGFUSE_INGESTION_PROCESSING_SAMPLED_PROJECTSenvironment variable to the self-hosting scaling guide.Changes
/pages/self-hosting/configuration/scaling.mdxDocumentation approach
Location rationale
The scaling page was chosen because:
🤖 Generated with Claude Code
Important
Adds server-side sampling configuration documentation to the Langfuse scaling guide.
scaling.mdx.LANGFUSE_INGESTION_PROCESSING_SAMPLED_PROJECTSenvironment variable for configuring sampling rates.This description was created by
for f016262. You can customize this summary. It will automatically update as commits are pushed.