Skip to main content
HealOps queries Sentry to retrieve recent issues, error events, and stack traces — correlating application errors with infrastructure alerts to identify root causes faster.

Prerequisites

  • Sentry account with at least one organization
  • Auth token with event:read scope

Setup

Option 1: Interactive CLI

Select Sentry when prompted and provide your organization slug and auth token.

Option 2: Environment variables

Add to your .env:

Option 3: Persistent store

Creating an auth token

Recommended: Organization Token
  1. In Sentry, go to SettingsDeveloper SettingsOrganization Tokens
  2. Click Create New Token
  3. Enable the event:read scope
  4. Copy the token
Alternative: Internal Integration For broader access, create an Internal Integration under SettingsDeveloper SettingsInternal Integrations.
The organization slug appears in your Sentry URL: https://sentry.io/organizations/<slug>/

Verify

Expected output:

Troubleshooting

Security best practices

  • Use an Organization Token with only event:read — do not use admin tokens.
  • Store the token in .env, not in source code.
  • Rotate tokens periodically.