Connections
Sentry
Slack alerts for new Sentry issues and alert rules, noted on the affected customer's conversation.
On this page
The Sentry preset posts new issues and alert rule triggers to Slack. When an error affects a customer with an open conversation, it is noted there too.
Setup
About three minutes in Sentry: an internal integration sends issues and alerts here. In Channlize, Connections → New connection → Sentry. The setup screen shows the connection URL (the Webhook URL) above these steps, with the secret fields and buttons at the step that needs them.
- Create an internal integration: Settings → Developer Settings → Internal Integration (Open Sentry developer settings). Create an internal integration and name it (e.g. Channlize).
- Paste the URL and allow alert rules: paste the URL as the Webhook URL, then turn on Alert Action (it appears once the URL is set) so alert rules can send here.
- Set permissions and webhooks: under Permissions, set Issues & Events to Read. Under Webhooks, check
issue(optionallycomment, anderroron Business plans and up). Click Save Changes. - Paste the Client Secret into Channlize: on the integration's page, under Credentials, copy the Client Secret (not the Client ID). Auth tokens (
sntrys_,sntryu_) are rejected.
Optional:
- Find the affected customer (integration token): issue webhooks don't say which user hit the error. With the integration's token (same page, under Tokens), Channlize reads the latest event to find them and notes the error on their open conversation.
- Send alert rules here: Alerts → Create Alert → Issues. Under Then perform these actions, add Send a notification via your integration and save. Each time it fires, Channlize gets
event_alert.triggered. Metric alerts: add the integration as a trigger action.
First event: the screen shows Waiting for the first event… until one arrives. Trigger an error in your app, or use Send Test Notification on an alert rule. Then click Done to keep the connection. Cancel deletes the draft and its URL.
Signature
Sentry-Hook-Signature: the hex HMAC-SHA256 of the body with the Client Secret.
Default mappings
Event types are <Sentry-Hook-Resource>.<action>:
| Event | Action |
|---|---|
issue.created | Alert: *New issue:* {{title}} |
event_alert.triggered | Alert |
metric_alert.critical, metric_alert.warning, metric_alert.resolved | Alert |
error.created | Log |
issue.resolved, issue.archived, issue.ignored, issue.assigned, issue.unresolved, comment.created, installation.created, installation.deleted | Log |
By default only error and fatal levels alert, at most once per issue per hour.
Two-way replies
Not available: Sentry events never open conversations.