Skip to main content

Sentry

Sentry is an application monitoring and error tracking platform that helps developers identify, diagnose, and resolve software errors and performance issues in real-time. This integration provides comprehensive access to Sentry's organizational structure, configuration, alerting systems, and team management data, enabling teams to audit their error monitoring setup, manage access controls, track alert configurations, and maintain visibility into their application observability infrastructure.

CategoryObservability
DirectionQuery source
Sign-inAuth Token
Query languagesSQLite
Tables9
Query templates45
Websitesentry.io

Before you start​

Huntbase signs in to Sentry with Auth Token. Create the credential in Sentry first, then keep it to hand for the Connect step.

  1. In Sentry, open the account dropdown (top left) and go to the Personal Tokens page.
  2. Create a new token and select only read scopes.
  3. Copy the token and store it securely.

Permissions:

  • org:read
  • project:read
  • team:read
  • member:read
  • event:read
Watch out for
  • A personal token can reach every organization and project you have access to, and it changes when your own permissions change.
  • Organization tokens (Settings › Developer Settings › Organization Tokens) have a fixed, limited set of permissions meant for CI, and their scopes can't be customized.

For the vendor's own instructions, see Sentry auth token documentation.

tip

Use a dedicated, read-only credential for Huntbase where the product allows it. Huntbase only needs to read.

Connect Sentry​

  1. Go to Connections and click New connection, or click New connection on the Sentry product page.
  2. On Product, pick Sentry and choose the Owner.
  3. On Details, give the connection a Name and, optionally, a Description.
  4. On Connect, fill in the settings and credentials described below.
  5. On Verify, review the summary and click Create & check.

For everything else on the setup page — saving a draft, I'll do this later, and what each check result means — see Connections.

Settings​

Where your Sentry lives:

FieldRequiredNotes
Base URLNoOnly for self-hosted Sentry, such as https://sentry.company.com/. Leave blank for sentry.io.

Credentials​

The only Method is Auth Token. Enter a Credential label (for example Production), then fill in:

FieldRequiredNotes
Auth TokenYesSecret — not shown again after you save it.

Query it​

Once connected, Sentry can serve these languages in a query tab, and Scout can use it when you ask in Auto:

LanguageUse it for
SQLiteSQL over the 9 tables listed below, alongside every other connected source.

Example: SQLite​

Sentry Key Basic Info — Retrieve basic information about all Sentry keys, including their active status, associated project, and public visibility.

SELECT
id,
name,
is_active,
secret,
project_slug,
public
FROM
sentry_key;

Sentry ships with 45 query templates. Find them in Library › Queries — see Query templates.

Tables​

Sentry adds 9 tables. Browse their columns from Schema in the query bar's ⋯ menu.

All 9 tables
TableContains
sentry_issue_alertRetrieve information about your issue alerts.
sentry_keyRetrieve information about your project keys.
sentry_metric_alertRetrieve information about your metric alerts.
sentry_organizationRetrieve information about your organizations.
sentry_organization_integrationRetrieve information about your organization integrations.
sentry_organization_memberRetrieve information about your organization members.
sentry_organization_repositoryRetrieve information about your organization repositories.
sentry_projectRetrieve information about your projects.
sentry_teamRetrieve information about your teams.

Next steps​