sentry

v0.2.1 collector

Collects Sentry.io application monitoring and alerting posture metrics

Install

epack install collector sentry

Adds to epack.yaml, resolves dependencies, downloads binary.

Usage

Run all configured collectors and build a pack:

epack collect

Runs all collectors in epack.yaml and outputs an evidence pack.

Configuration

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.

What it does

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.

How it works

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.

Configuration

Add to your epack.yaml:

collectors:
  sentry:
    source: locktivity/epack-collector-sentry@v1
    config:
      organization: acme-corp
    secrets:
      - SENTRY_AUTH_TOKEN

Options

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.

Secrets

Variable Description
SENTRY_AUTH_TOKEN Personal auth token or internal integration token

Required Sentry scopes

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

Basic Usage

collectors:
  sentry:
    source: locktivity/epack-collector-sentry@v1
    config:
      organization: acme-corp
    secrets:
      - SENTRY_AUTH_TOKEN

With Project Filtering

collectors:
  sentry:
    source: locktivity/epack-collector-sentry@v1
    config:
      organization: acme-corp
      projects:
        - billing-service
        - api-gateway
      environments:
        - production
    secrets:
      - SENTRY_AUTH_TOKEN

Audit Level

collectors:
  sentry:
    source: locktivity/epack-collector-sentry@v1
    config:
      organization: acme-corp
      level: audit
    secrets:
      - SENTRY_AUTH_TOKEN

Self-Hosted Sentry

collectors:
  sentry:
    source: locktivity/epack-collector-sentry@v1
    config:
      organization: my-org
      sentry_url: https://sentry.internal.company.com
    secrets:
      - SENTRY_AUTH_TOKEN

Example Output (trust)

{
  "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": {}
  }
}
v0.2.1 Latest
2026-07-07

## 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

darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.2.0
2026-07-06

## 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

darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.1.0
2026-06-26

**Full Changelog**: https://github.com/locktivity/epack-collector-sentry/commits/v0.1.0

darwin/amd64 darwin/arm64 linux/amd64 linux/arm64

Details

Publisher
locktivity
Latest
v0.2.1
Protocol
v1

Platforms

darwin/amd64 darwin/arm64 linux/amd64 linux/arm64

Links