界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

sentry-cost-tuning

sentry-cost-tuning

【效率与协作】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".

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

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

  1. Review current usage and cost breakdown by event type
  2. Implement error sampling to reduce volume (e.g., 50% sampleRate)
  3. Configure aggressive transaction sampling (1% or lower for high-volume)
  4. Add ignoreErrors and denyUrls patterns for common noise
  5. Enable server-side inbound filters in project settings
  6. Set project rate limits to cap maximum events
  7. Reduce event size with maxValueLength and maxBreadcrumbs limits
  8. Disable unused features (replays, profiling) if not needed
  9. Configure tiered environment settings (disable in dev, reduce in staging)
  10. 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

我的收藏