Guides
Sentry Integration
Enable agents to investigate and triage Sentry issues
Sentry Integration
Docker workers include sentry-cli pre-installed, enabling agents to investigate and triage Sentry issues directly.
Setup
-
Create an Organization Auth Token at
https://sentry.io/settings/{org}/auth-tokens/with scopes:event:read— Read issues and eventsproject:read— Read project dataorg:read— Read organization info
-
Add to your worker environment:
SENTRY_AUTH_TOKEN=your-auth-token
SENTRY_ORG=your-org-slug- Verify authentication in a worker:
sentry-cli infoUsage
Workers can use the /investigate-sentry-issue command to:
- Get issue details and stacktraces
- Analyze breadcrumbs and context
- Resolve, mute, or unresolve issues
Examples
/investigate-sentry-issue https://sentry.io/organizations/myorg/issues/123456/Or just the issue ID:
/investigate-sentry-issue 123456Related
- Environment Variables — Sentry configuration (
SENTRY_AUTH_TOKEN,SENTRY_ORG) - Task Lifecycle — How Sentry issues become tasks