langfuse-rate-limits
Implement Langfuse rate limiting, batching, and backoff patterns. Use when handling rate limit errors, optimizing trace ingestion, or managing high-volume LLM observability workloads. Trigger with phrases like "langfuse rate limit", "langfuse throttling", "langfuse 429", "langfuse batching", "langfuse high volume".
npx skills add majiayu000/claude-skill-registry --skill langfuse-rate-limits --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Langfuse Rate Limits ## Overview Handle Langfuse rate limits gracefully with batching and backoff strategies. ## Prerequisites - Langfuse SDK installed - Understanding of async/await patterns - High-volume trace workload ## Rate Limit Tiers | Tier | Events/min | Events/hour | Batch Size | |------|------------|-------------|------------| | Free | 1,000 | 10,000 | 15 | | Pro | 10,000 | 100,000 | 50 | | Enterprise | Custom | Custom | Custom | ## Instructions ### Step 1: Configure Optimal Batching ```typescript import { Langfuse } from "langfuse"; // High-volume configuration const langfuse = new Langfuse({ publicKey: process.env.LANGFUSE_PUBLIC_KEY!, secretKey: process.env.LANGFUSE_SECRET_KEY!, // Batching settings flushAt: 50, // Batch 50 events before sending flushInterval: 5000, // Or flush every 5 seconds // Timeout settings requestTimeout: 30000, // 30 second timeout for large batches }); ``` ### Step 2: Implement Exponential Backoff ```typescript interface RetryConfig { maxRetries: number; baseDelayMs: number; maxDelayMs: number; jitterMs: number; } async function withBackoff<T>( operation: () => Promise<T>, config: RetryConfig = { maxRetries: 5, baseDelayMs: 1000, maxDelayMs:
- Overview
- Prerequisites
- Rate Limit Tiers
- Instructions
- Step 1: Configure Optimal Batching
- Step 2: Implement Exponential Backoff
- Step 3: Rate Limit-Aware Wrapper
- Step 4: Sampling for High Volume
- Output
- Error Handling
- Examples
- Monitor Rate Limit Usage
- Batch Processing Pattern
- Queue-Based Rate Limiting
What does the langfuse-rate-limits skill do?
Implement Langfuse rate limiting, batching, and backoff patterns. Use when handling rate limit errors, optimizing trace ingestion, or managing high-volume LLM observability workloads. Trigger with phrases like "langfuse rate limit", "langfuse throttling", "langfuse 429", "langfuse batching", "langfuse high volume".
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill langfuse-rate-limits --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
