sentry-load-scale

Featured

Scale Sentry for high-traffic applications handling millions of events per day. Use when optimizing SDK performance at high volume, implementing adaptive sampling, managing quotas and costs at scale, or deploying Sentry across multi-region infrastructure. Trigger with phrases like "sentry high traffic", "scale sentry", "sentry millions events", "sentry high volume", "sentry quota management", "sentry load test".

AI & Automation 2,926 stars 433 forks Updated yesterday 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

# Sentry Load & Scale Configure Sentry for applications processing 1M+ requests/day without sacrificing error visibility, burning through quota, or adding measurable SDK overhead. Covers adaptive sampling, connection pooling, multi-region tagging, quota management, SDK benchmarking, batch submission, load testing, and self-hosted deployment considerations. ## Prerequisites - Application handling sustained high traffic (>10K requests/min or >1M events/day) - Sentry organization with quota and billing access (Settings > Subscription) - `@sentry/node` v8+ installed (`npm ls @sentry/node`) - Performance baseline established (p50/p95/p99 latency without Sentry) - Event volume estimates calculated per category (errors, transactions, replays, attachments) ## Instructions ### Step 1 — Implement Adaptive Sampling Static `tracesSampleRate` wastes quota at scale because it treats a health check the same as a checkout. Replace it with a traffic-aware `tracesSampler` that adjusts rates based on endpoint criticality and current load. **Traffic-aware tracesSampler:** ```typescript import * as Sentry from '@sentry/node'; // Track request volume per endpoint for adaptive rate adjustment const endpointVolume = new Map<string, { count: number; resetAt: number }>(); const WINDOW_MS = 60_000; function getAdaptiveRate(name: string, baseRate: number): number { const now = Date.now(); let entry = endpointVolume.get(name); if (!entry || now > entry.resetAt) { entry = { count: 0, r...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category