Configuring Sentry as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Sentry option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
The following configurations are available:- Auth token: required. In Sentry, go to Settings > Auth Tokens and click Create New Token. This creates an organization token, which is the right choice for a pipeline because it is not tied to any one person and does not stop working when they leave. Give it read access to everything the connector reads:
org:read,project:read,project:releases,event:read,member:read,team:read,alerts:readandorg:integrations. Copy the token immediately. Sentry does not show it again after you close the dialog. - Organization slug: required. The short name of your organization, exactly as it appears in the Sentry address bar. In
https://acme.sentry.io/issues/the slug isacme. You can also read it under Settings > General Settings > Name. - Initial sync date (advanced): earliest date to sync for the incremental streams. Leave empty to start from the oldest data Sentry still serves.
- Sentry host (advanced): keep
sentry.iofor Sentry’s cloud service. If your organization’s data is stored outside the United States, enter your region address instead (de.sentry.io, for example), which you can confirm under Settings > General Settings. For a self-hosted Sentry, enter your own address, such assentry.mycompany.com. - Projects (advanced): limit the per-project streams to a few project slugs. Leave empty to read every project.
- Include full event bodies (advanced): brings stack traces, breadcrumbs and request context into the
eventstable. Off by default. - Maximum history (days) (advanced): how far back the
eventsstream may ask Sentry for data. 90 by default.
2. Select streams
Choose which data streams you want to sync. You can select entire groups of streams or only a subset of them.Tip: The stream can be found more easily by typing its name.
If your token is missing one of the permissions above, the affected stream is skipped with a message
in the run log naming the permission it needed. The rest of the sync still runs. The same happens
for a Sentry product your plan does not include: session replays and cron monitors simply come back
empty instead of failing the run.
3. Configure data streams
Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.- Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
- Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
- Sync Type: you can choose between INCREMENTAL and FULL_TABLE. Read more about Sync Types here.
4. Configure data source
Describe your data source for easy identification within your organization. You can inform things like what data it brings, to which team it belongs, etc. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:- Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
- Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
5. Check your new source
You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.If you encounter any issues, reach out to us via Slack, and we’ll gladly assist you!
Streams and Fields
Available streams
Errors and events
Errors and events
Releases and code
Releases and code
Monitoring and alerting
Monitoring and alerting
Session replays
Session replays
Organization structure
Organization structure
Implementation Notes
Data Retention and Recovery
Sync Behaviors
A few behaviours are worth knowing before you build on these tables:issuesis a moving picture, not an append-only log. Its replication key is last seen, so an issue that keeps happening is re-synced on every run with its counters updated. That is what keepscountanduser_countcurrent.issues.countarrives as text. Sentry serializes that counter as a string, so cast it before doing arithmetic on it.eventsis by far the largest stream: one row per error occurrence, against one row per group of occurrences inissues. Turning Include full event bodies on multiplies the size again.- Time windows and pagination: For time-windowed streams like
issuesandevents, the time window (startandend) is fixed once per project partition on the first page of the request. Sentry’s cursor works from a newest-first list, so fixing the window prevents an infinite loop on busy projects where events keep arriving mid-sync and shifting already-read rows. Any events arriving after the fixed end time are safely picked up in the next pipeline run from the bookmark. releasesalways syncs in full. Sentry’s release endpoint accepts no date filter, so syncing it incrementally would make exactly the same requests while freezing the counters that change after a release is created:new_groups,last_event,deploy_count.- Nested data arrives as JSON text. Fields with sub-structure (an issue’s
metadata, an event’stagsandcontexts, a monitor’sconfig) are stored as JSON strings. Read them withJSON_VALUE(column, '$.field')in your queries. - Client keys and DSNs are not extracted. That endpoint returns secret key material, which has no place in a warehouse table.