sentry-cost-tuningClaude Skill
Optimize Sentry costs and event volume.
1.4k Stars
173 Forks
2025/10/10
| name | sentry-cost-tuning |
| description | Optimize Sentry costs and event volume. Use when managing Sentry billing, reducing event volume, or optimizing quota usage. Trigger with phrases like "reduce sentry costs", "sentry billing", "sentry quota", "optimize sentry spend". |
| allowed-tools | Read, Write, Edit, Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
Sentry Cost Tuning
Prerequisites
- Current Sentry billing plan known
- Event volume metrics available
- High-volume error sources identified
- Cost reduction target defined
Instructions
- Review current usage and cost breakdown by event type
- Implement error sampling to reduce volume (e.g., 50% sampleRate)
- Configure aggressive transaction sampling (1% or lower for high-volume)
- Add ignoreErrors and denyUrls patterns for common noise
- Enable server-side inbound filters in project settings
- Set project rate limits to cap maximum events
- Reduce event size with maxValueLength and maxBreadcrumbs limits
- Disable unused features (replays, profiling) if not needed
- Configure tiered environment settings (disable in dev, reduce in staging)
- Set up spend alerts and monitor cost projections monthly
Output
- Optimized sample rates
- Event filtering rules
- Cost projection updated
- Spend alerts configured
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.
Resources
Similar Claude Skills & Agent Workflows
analyze-ci
23.7k
Analyze failed GitHub Action jobs for a pull request.
sla-monitor-setup
1.0k
Configure sla monitor setup operations.
github-project-setup
1.0k
Configure github project setup operations.
vpc-network-setup
1.0k
Configure vpc network setup operations.
memorystore-config
1.0k
Configure memorystore config operations.
gke-cluster-config
1.0k
Configure gke cluster config operations.