Sentry
Connect
Connect Sentry from the terminal. Pass --help for the flags Sentry accepts.
polylane integration connect --type sentryInstall the Polylane integration on your Sentry organization.
Connect Sentry through its OAuth integration so agents can query issues, errors, and alerts during investigations.
Setup
- Click Connect to start the Sentry installation flow.
- Choose the Sentry organization to install Polylane on.
- Review the requested access and accept the installation.
- You are returned to Polylane and the integration is ready.
Connecting adds a Send a notification via Polylane action to every issue alert rule, so alerts land in Polylane and get triaged as they fire.
What agents can do
- Query issues and search error events
- Inspect the latest events and issue details
- Check alert statuses and investigate incidents
Disconnecting
Remove the Polylane integration from your Sentry organization under Settings → Integrations, or disconnect it from Polylane. Disconnecting removes the Polylane action from your alert rules, so drop it from Terraform configs at the same time.
Register Sentry alerts to Polylane alongside your Terraform-managed resources.
A recurring sync adds the Polylane notification action to every issue alert rule, so a Terraform-managed rule shows drift until the action is in its Terraform config too. Find your installation UUID with GET /api/0/organizations/{organization_slug}/sentry-app-installations/ on the Sentry API (the entry for the Polylane app), then include the action on each rule:
resource "sentry_issue_alert" "example" {
# ...
actions_v2 = concat(var.existing_actions, [
{
notify_event_sentry_app = {
sentry_app_installation_uuid = var.polylane_installation_uuid
}
}
])
}
Disconnecting the integration removes the Polylane action from your alert rules, so drop it from Terraform configs at the same time.
Disconnect
Disconnecting stops every sync and check and deletes the credentials Polylane held. Polylane removes what Sentry's API lets it remove. The following stays until you remove it yourself:
- Sentry app installation and tokens
polylane integration disconnect <id>Tools
10Operations agents can perform in threads.