Skip to main content

Sentry

This connector captures data from Sentry into Estuary collections.

Supported data resources

The following data resources are supported through the Sentry APIs:

By default, each resource is mapped to an Estuary collection through a separate binding.

In addition to these built-in resources, you can define your own incremental streams backed by Sentry's Explore events API. See Custom Explore queries below.

Prerequisites

To set up the Sentry source connector, you'll need a Sentry auth token and the organization slug.

Configuration

You configure connectors either in the Estuary web app, or by directly editing the catalog specification files. See connectors to learn more about using connectors. The values and specification sample below provide configuration details specific to the Sentry source connector.

Properties

Endpoint

PropertyTitleDescriptionTypeRequired/Default
/credentials/credentials_titleCredentialsName of the credentials setstringRequired
/credentials/access_tokenAccess TokenSentry auth token.stringRequired
/organizationOrganizationThe slug of the organization.stringRequired
/start_dateStart DateThe date from which you'd like to replicate data for Sentry API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated.string7 days before the present
/explore_queriesExplore QueriesUser-defined Explore query streams. Each entry becomes its own incremental stream backed by Sentry's Explore events endpoint.array
/advanced/window_sizeWindow SizeDate window size for the issues backfill in ISO 8601 format. ex: P30D means 30 days, PT6H means 6 hours. If you have a significant amount of isssues data to backfill, smaller window sizes will allow the connector to checkpoint its progress more frequently.stringP30D

Custom Explore queries

Each entry in /explore_queries runs a Sentry Explore events query and is captured as its own incremental stream. The connector prefixes each stream name with custom_explore_ and manages the capture time window itself.

PropertyTitleDescriptionTypeRequired/Default
/explore_queries/-/nameNameName for this Explore query stream. The connector prefixes it with custom_explore_ to form the stream name.stringRequired
/explore_queries/-/datasetDatasetDataset to query. One of spans, errors, or transactions.stringRequired
/explore_queries/-/fieldsFieldsComma-separated field list to return, e.g. span.description, transaction, project. The dataset's primary key fields and timestamp are added automatically.stringRequired
/explore_queries/-/queryQueryOptional Sentry search query to filter rows. The connector manages the time window itself, so a timestamp: clause is not allowed.string""
/explore_queries/-/projectsProjectsComma-separated project IDs to include. Leave empty to query all projects.string""

Refer to Sentry's documentation for the valid values for each field, including the field names and search query syntax supported by each dataset.

note

When spans are the dataset, only full fidelity data from the past 30 days are captured. Sentry reduces data earlier than 30 days ago to samples of the actual dataset.

Bindings

PropertyTitleDescriptionTypeRequired/Default
/nameData resourceName of the data resource.stringRequired
/intervalIntervalInterval between data syncsstringPT5M

Sample

captures:
${PREFIX}/${CAPTURE_NAME}:
endpoint:
connector:
image: ghcr.io/estuary/source-sentry:v2
config:
credentials:
credentials_title: Private App Credentials
access_token: <your auth token>
organization: <your organization>
start_date: "2025-08-14T00:00:00Z"
explore_queries:
- name: my_spans
dataset: spans
fields: span.description, span.duration, transaction, project
advanced:
window_size: P10D
bindings:
- resource:
name: Issues
interval: PT5M
target: ${PREFIX}/Issues