Skip to main content
Connect Sentry so a new issue opens an incident in RubixKube, and resolving it in Sentry resolves it here. You can also connect Sentry as a tool Rubix reads while it investigates.

When you’d use this

  • The problem is in your code, not your infrastructure. An observer sees a healthy pod. Sentry sees the exception.
  • A new error appeared after a release. Rubix can look at what shipped and what else changed.
  • You want errors and infrastructure in one place. A Sentry issue and a crash-looping pod can land in the same group.

Connect it

1

Make its webhook in RubixKube

Go to Environments > Connect and pick Sentry. Give it a name, then choose Make its webhook. Copy the URL. It’s shown once, and anyone who has it can post to it.
2

Create an internal integration in Sentry

In Sentry, go to Settings > Developer Settings > Custom Integrations and create a new Internal Integration. Paste the URL as its webhook URL.
3

Set its permissions and webhooks

Give it Read access to Issue & Event, turn on Alert Rule Action, and tick the issue webhook. Save it.
4

Add it to your alert rules

To send alerts as well as new issues, add the integration as an action on the Sentry alert rules you want.

What opens an incident and what resolves it

Severity for an issue comes from its level: fatal is critical, error is high, warning is medium, and anything else is low. A metric alert is critical when it’s critical and medium when it’s a warning. Each Sentry issue is one incident, and each metric alert is one incident.

What you’ll see

The source appears on Environments as soon as you make its webhook, then shows as connected when the first message arrives. Its page has an Events tab with the last 20 messages, so you can check what Sentry really sent. The automation Sentry issues become incidents is on under Automations. If events arrive and no incident opens, the source page says so and offers Turn on. Each incident carries the alert’s details and a link back to Sentry. Triage, the RCA and Tasks then work as they do for any other incident. For an alert rule, the incident includes the exception and the last frames of the stack trace.

What Rubix can read too

To let Rubix read Sentry while it investigates, open Customize > Integrations, pick Sentry, and choose Sign in with Sentry or paste a User auth token. The connection’s Reads section shows what Rubix can reach. See the Reads check.

Integrations overview

The two ways to connect a tool.

Incidents

What happens after an incident opens.

Linear

Open incidents from labelled tickets.

Sign-in and tokens

How connections sign in.