金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

sentry-cost-tuning

sentry-cost-tuning 是面向效率工具、商业与营销、开发运维的 Agent Skill,来自 jeremylongshore/claude-code-plugins-plus-skills。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

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

SKILL.md

下载 MD ↓
namesentry-cost-tuning
descriptionOptimize 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-toolsRead, Write, Edit, Grep
version1.0.0
licenseMIT
authorJeremy Longshore <[email protected]>

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

来源:jeremylongshore/claude-code-plugins-plus-skills · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本