sentry-cost-tuning

Featured

Optimize Sentry costs, reduce event volume, and manage quota spend. Use when analyzing Sentry billing, reducing error/transaction volume, configuring sampling rates, or preventing overage charges. Trigger: "reduce sentry costs", "sentry billing optimization", "sentry quota management", "optimize sentry spend", "sentry sampling".

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

# Sentry Cost Tuning Reduce Sentry spend by 60-95% through SDK-level sampling, server-side inbound filters, `beforeSend` event dropping, and quota management — without losing visibility into production errors that matter. ## Prerequisites - Active Sentry account with `org:read` and `project:read` scopes on an auth token - Access to the project's `Sentry.init()` configuration (typically `sentry.client.config.ts` or `instrument.ts`) - Current plan tier identified: Developer (free, 5K errors/mo), Team ($26/mo, 50K errors + 100K transactions), or Business ($80/mo, 100K errors + 500K transactions) - `SENTRY_AUTH_TOKEN` and `SENTRY_ORG` environment variables set for API calls - `@sentry/node` >= 8.0 or `@sentry/browser` >= 8.0 installed ## Instructions ### Step 1 — Audit Current Usage via the Stats API Query the Sentry Usage Stats API to understand where volume comes from before making changes. This endpoint returns event counts grouped by category over any time period. ```bash # Pull 30-day usage breakdown by category curl -s -H "Authorization: Bearer $SENTRY_AUTH_TOKEN" \ "https://sentry.io/api/0/organizations/$SENTRY_ORG/stats/usage/?statsPeriod=30d&groupBy=category&field=sum(quantity)&interval=1d" \ | python3 -c " import json, sys data = json.load(sys.stdin) print('=== 30-Day Usage by Category ===') for group in data.get('groups', []): cat = group['by']['category'] total = sum(interval[1] for interval in group.get('series', {}).get('sum(quantity)', [])) p...

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

sentry-rate-limits

Manage Sentry rate limits, quotas, and event volume optimization. Use when hitting 429 errors, tuning sampleRate/tracesSampleRate, filtering noisy browser errors with beforeSend, configuring inbound data filters, setting per-key rate limits, or monitoring quota usage via the Sentry stats API. Trigger: "sentry rate limit", "sentry quota", "reduce sentry events", "sentry 429", "sentry spike protection", "sentry sampling".

2,266 Updated today
jeremylongshore
AI & Automation Featured

sentry-load-scale

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".

2,266 Updated today
jeremylongshore
AI & Automation Featured

sentry-performance-tuning

Optimize Sentry performance monitoring for lower overhead and higher signal. Use when tuning tracesSampleRate vs tracesSampler, configuring continuous profiling, fixing high-cardinality transaction names, adding custom span measurements, reducing SDK overhead, or setting Web Vitals thresholds. Trigger: "sentry performance optimize", "tune sentry sampling", "reduce sentry overhead", "sentry web vitals", "sentry profiling setup".

2,266 Updated today
jeremylongshore
AI & Automation Featured

posthog-cost-tuning

Optimize PostHog costs: autocapture tuning, event sampling with before_send, bot filtering, session recording sampling, and billing monitoring. Trigger: "posthog cost", "posthog billing", "reduce posthog costs", "posthog pricing", "posthog expensive", "posthog budget", "posthog free tier".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-cost-tuning

Optimize HubSpot costs through API call reduction, plan selection, and usage monitoring. Use when analyzing HubSpot API usage, reducing unnecessary calls, or implementing usage tracking and budget alerts. Trigger with phrases like "hubspot cost", "hubspot API usage", "reduce hubspot calls", "hubspot pricing", "hubspot budget", "hubspot quota".

2,266 Updated today
jeremylongshore