Collects Sentry.io application monitoring and alerting posture metrics
epack install collector sentry
Adds to epack.yaml, resolves dependencies, downloads binary.
Run all configured collectors and build a pack:
epack collect
Runs all collectors in epack.yaml and outputs an evidence pack.
Or add manually to epack.yaml:
collectors:
sentry:
source: https://github.com/locktivity/epack-collector-sentry
Then run epack install to lock and sync.
epack-collector-sentry is an epack collector built with the Component SDK.
Collects application monitoring posture evidence from a Sentry organization. It reads cron monitors, alert rules, users, and teams to produce evidence that production systems are monitored and anomalies trigger response.
The collector authenticates with a personal auth token or internal integration token, then reads the Sentry API to gather monitoring configuration. Data is gated by collection level: trust provides a single boolean indicating whether monitoring is configured, audit adds aggregate counts and per-entity inventories, and internal adds cross-entity detail like team memberships and integration IDs.
Add to your epack.yaml:
collectors:
sentry:
source: locktivity/epack-collector-sentry@v1
config:
organization: acme-corp
secrets:
- SENTRY_AUTH_TOKEN
| Option | Type | Required | Description |
|---|---|---|---|
organization |
string | Yes | Sentry organization slug |
sentry_url |
string | No | Base URL (defaults to https://sentry.io). Set to https://de.sentry.io for EU or a self-hosted URL. |
projects |
string[] | No | Filter to these project slugs. Omit for all projects. |
environments |
string[] | No | Filter monitors to these environments. Omit for all. |
level |
string | No | Collection level: trust, audit, or internal. Defaults to trust. |
| Variable | Description |
|---|---|
SENTRY_AUTH_TOKEN |
Personal auth token or internal integration token |
| Scope | Levels | Surface |
|---|---|---|
org:read |
trust+ | Organization metadata |
alerts:read |
trust+ | Monitors and alert rules |
member:read |
audit+ | Organization members |
team:read |
audit+ | Teams and team members |
collectors:
sentry:
source: locktivity/epack-collector-sentry@v1
config:
organization: acme-corp
secrets:
- SENTRY_AUTH_TOKEN
collectors:
sentry:
source: locktivity/epack-collector-sentry@v1
config:
organization: acme-corp
projects:
- billing-service
- api-gateway
environments:
- production
secrets:
- SENTRY_AUTH_TOKEN
collectors:
sentry:
source: locktivity/epack-collector-sentry@v1
config:
organization: acme-corp
level: audit
secrets:
- SENTRY_AUTH_TOKEN
collectors:
sentry:
source: locktivity/epack-collector-sentry@v1
config:
organization: my-org
sentry_url: https://sentry.internal.company.com
secrets:
- SENTRY_AUTH_TOKEN
{
"schema_version": "1.0.0",
"collected_at": "2026-06-26T14:00:00Z",
"collected_at_level": "trust",
"organization": "acme-corp",
"monitoring_summary": {
"alerts_or_monitors_enabled": true
},
"diagnostics": {
"errors": [],
"warnings": [],
"truncation": {}
}
}
## What's Changed * Fix unmarshal crash on polymorphic comparison field by @fhodnett in https://github.com/locktivity/epack-collector-sentry/pull/2 **Full Changelog**: https://github.com/locktivity/epack-collector-sentry/compare/v0.2.0...v0.2.1
## What's Changed * Migrate to documented Sentry API endpoints by @fhodnett in https://github.com/locktivity/epack-collector-sentry/pull/1 ## New Contributors * @fhodnett made their first contribution in https://github.com/locktivity/epack-collector-sentry/pull/1 **Full Changelog**: https://github.com/locktivity/epack-collector-sentry/compare/v0.1.0...v0.2.0
**Full Changelog**: https://github.com/locktivity/epack-collector-sentry/commits/v0.1.0