Skip to content

Sentry ​

Monitors a Sentry organization/project issue query for newly tracked issues, count spikes, and terminal transitions.

Pollen Types ​

TypeDescription
sentry_issueA newly tracked issue
sentry_spikeEvent count crossed the configured delta and ratio
sentry_resolvedA tracked issue resolved
sentry_ignoredA tracked issue became ignored
sentry_no_longer_matchingA tracked issue left the configured query/project

Setup ​

Create a Sentry auth token with appropriate organization/project and issue/event read scopes, then export it:

bash
export SENTRY_TOKEN="sntrys_..."
/hive hire sentry

Configuration ​

json
{
  "sentry": {
    "enabled": true,
    "token_env": "SENTRY_TOKEN",
    "organization": "org-slug",
    "project": "project-slug",
    "query": "is:unresolved",
    "min_event_delta": 10,
    "spike_ratio": 2.0,
    "max_items": 100,
    "max_pages": 10
  }
}
FieldDefaultDescription
token_envSENTRY_TOKENAuth-token environment variable
organization""Required organization slug
project""Optional project slug
queryis:unresolvedSentry issue-search expression
min_event_delta10Minimum count increase required for a spike
spike_ratio2.0Minimum new/old count ratio required for a spike
max_items100Issue page size, from 1 to 100
max_pages10Page cap, from 1 to 10

The scanner tracks at most 500 issues and checks at most ten disappeared issues in detail per poll. See the Sentry API; use webhooks beyond these polling bounds.

Released under the Apache 2.0 + Commons Clause License.