Overview
Best practices and patterns for Sentry error monitoring and observability.
What This Plugin Provides
Validation Hooks
- Sentry Info: Verifies sentry-cli configuration and authentication using
sentry-cli info
Skills
This plugin provides the following skills:
- SDK Configuration: Initialization, integrations, sampling, filtering
- Error Capturing: Exception handling, context, breadcrumbs, fingerprinting
- Performance Monitoring: Transactions, spans, distributed tracing, metrics
- Release Management: Source maps, deployments, release health
- Alerts & Issues: Alert rules, issue triage, notifications, integrations
Installation
Install via the Han marketplace:
han plugin install sentry
Usage
Once installed, this plugin provides skills for Sentry best practices. The validation hook verifies your sentry-cli configuration is correct.
Requirements
- sentry-cli installed
.sentryclircorsentry.propertiesconfiguration file- Valid Sentry authentication token
Configuration
Create .sentryclirc in your project root:
[defaults]
org = your-org
project = your-project
[auth]
token = your-auth-token
Or use environment variables:
export SENTRY_ORG=your-org
export SENTRY_PROJECT=your-project
export SENTRY_AUTH_TOKEN=your-auth-token