sentry-reliability-patterns
11
总安装量
9
周安装量
#27300
全站排名
安装命令
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill sentry-reliability-patterns
Agent 安装分布
codex
8
cursor
8
opencode
8
openclaw
7
gemini-cli
7
antigravity
7
Skill 文档
Sentry Reliability Patterns
Prerequisites
- Understanding of failure modes
- Fallback logging strategy
- Network reliability characteristics
- Graceful shutdown requirements
Instructions
- Wrap Sentry.init with try/catch for graceful initialization failure handling
- Implement fallback capture function that logs locally if Sentry fails
- Add retry with exponential backoff for network failures
- Implement offline event queue for intermittent connectivity
- Add circuit breaker pattern to skip Sentry after repeated failures
- Configure request timeout with wrapper function
- Implement graceful shutdown with Sentry.close() on SIGTERM
- Set up dual-write pattern to multiple error trackers for redundancy
- Create health check endpoint to verify Sentry connectivity
- Test all failure scenarios to ensure application continues operating
Output
- Graceful degradation implemented
- Circuit breaker pattern applied
- Offline queue configured
- Dual-write reliability enabled
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.