Skip to main content

Sentry Integration

Connect Sentry to enable the AI agent to analyze errors, exceptions, and performance issues during investigations.

Capabilities

Once connected, the AI agent can:
CapabilityDescription
View IssuesBrowse and search error issues
Analyze EventsExamine individual error events and stack traces
Check ReleasesReview release health and regressions
Performance DataAccess transaction performance metrics

Prerequisites

  • A Sentry account (Cloud or self-hosted)
  • An Auth Token with appropriate scopes
  • Read access to the projects you want to monitor

Setup

1

Create an Auth Token

  1. Log in to Sentry
  2. Go to SettingsAuth Tokens
  3. Click Create New Token
  4. Select the required scopes (see below)
  5. Copy the generated token
2

Add Integration in AccelOS

  1. Go to Integrations in AccelOS
  2. Click Sentry
  3. Enter a name (e.g., “Production Sentry”)
3

Configure Credentials

Enter the following:
  • Auth Token: Your Sentry auth token
  • Organization Slug: Your Sentry organization name
  • URL (optional): For self-hosted Sentry instances
4

Test and Save

Click Test Connection to verify, then Save.

Required Scopes

Create your auth token with these scopes:
ScopeWhy It’s Needed
project:readList and access projects
event:readView error events
issue:readBrowse issues
org:readAccess organization data

Example Queries

Once connected, you can ask the AI agent:
What are the most frequent errors in the payment service?
Show me the stack trace for the latest NullPointerException
Were there any new errors after yesterday's deployment?
What's the error rate trend for the checkout flow?

Troubleshooting

  • Verify the auth token is correct
  • Check that the token hasn’t been revoked
  • Ensure the token has the required scopes
  • Verify the organization slug is correct
  • Check for typos (slugs are case-sensitive)
  • Ensure your token has access to the organization
  • Verify the token has issue:read scope
  • Check that there are issues in the specified time range
  • Ensure project access permissions are correct