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

sentry-performance-tuning

sentry-performance-tuning

【数据与研究】Optimize Sentry performance monitoring configuration. Use when tuning sample rates, reducing overhead, or improving performance data quality. Trigger with phrases like "sentry performance optimize", "tune sentry tracing", "sentry overhead", "improve sentry performance".

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

技能说明

GitHub

name: sentry-performance-tuning description: | Optimize Sentry performance monitoring configuration. Use when tuning sample rates, reducing overhead, or improving performance data quality. Trigger with phrases like "sentry performance optimize", "tune sentry tracing", "sentry overhead", "improve sentry performance". allowed-tools: Read, Write, Edit, Grep version: 1.0.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io

Sentry Performance Tuning

Prerequisites

  • Performance monitoring enabled
  • Transaction volume metrics available
  • Critical paths identified
  • Performance baseline established

Instructions

  1. Implement dynamic sampling with tracesSampler for endpoint-specific rates
  2. Configure environment-based sample rates (higher in dev, lower in prod)
  3. Remove unused integrations to reduce SDK overhead
  4. Limit breadcrumbs to reduce memory usage
  5. Use parameterized transaction names to avoid cardinality explosion
  6. Create spans only for meaningful slow operations
  7. Configure profile sampling sparingly for performance-critical endpoints
  8. Measure SDK initialization time and ongoing overhead
  9. Implement high-volume optimization with aggressive filtering
  10. Monitor SDK performance metrics and adjust configuration

Output

  • Optimized sample rates configured
  • SDK overhead minimized
  • Transaction naming standardized
  • Resource usage reduced

Error Handling

See {baseDir}/references/errors.md for comprehensive error handling.

Examples

See {baseDir}/references/examples.md for detailed examples.

Resources

我的收藏