Creating an Alert

Learn about every option available when you create an Alert, including sources, environments, triggers, filters, actions, and throttling.

Alerts let you configure how you want to learn about issue activity like creation, resolution, or when Seer completes tasks. This page walks through each step of the New Alert form and the options available in each one.

To get started, go to Monitors > Alerts and click Create Alert.

Alerts are an organization-level feature. Owners, Managers, Admins (and Team Admins) can always create and edit Alerts. By default, Members and Team Contributors can too, under Let Members Create and Edit Monitors and Alerts, which is enabled in your organization settings. Learn more about roles and permissions.

The Source determines where issues that can trigger an Alert come from:

  • Alert on all issues in selected projects: Pick one or more projects. The Alert evaluates every issue in those projects, no matter which Monitor created it.
  • Alert on specific monitors: Connect individual Monitors so the Alert only evaluates issues those Monitors create. Click Connect Monitors to search all Monitors, filter by project, and select the ones you want. Use Edit Monitors to change your selection later, or Create New Monitor to set up a new one.
  • Alert on all issues in all projects: The Alert evaluates every issue in the organization, including issues from projects created after you save the Alert. This is the best choice for teams with simple alerting needs like feed channels in Slack or high level monitoring of newly detected issues.

Want coverage for an entire single service? Alert on a project. Want to Alert on a particular set of Monitors such as a single cron job or set of uptime checks? Select a subset of monitors. Want an Alert to apply organization-wide? Select all projects.

Select the environment the Alert evaluates. This filters on the environment tag in your events, so you can send production alerts somewhere different from staging or QA alerts.

The dropdown defaults to All Environments. You can select a specific environment from the list of environment tags across your projects. It's also possible to filter environment tag values in the IF section of the Alert Builder. Consider this option for complex routing configurations.

The Alert Builder has three sections: When (triggers), If (filters), and Then (actions).

For example: When an issue is escalated, If issue category is outage, Then send a message to the team-platform slack channel

Triggers specify which events or issue activity start an Alert evaluation. Triggers use ANY logic — the Alert evaluates as soon as a matching event or activity occurs — and each trigger can only be added once.

TriggerRuns when
A new issue is createdAn issue is created.
An issue escalatesAn event on an issue caused it to move from a lower priority to a higher one, or causes it to be flagged as escalating.
A resolved issue regressesAn resolved issue regresses when it's seen again (cannot be triggered by manually unresolving).
An issue is resolvedAn issue is marked as resolved.
An event or issue activity is capturedAn event is captured for a new or existing issue, or supported issue activity occurs, such as issue resolution or Seer completing a stage.
Seer runs on an issue and reaches the stage...Seer finishes one of the stages you select.

For the Seer trigger, select one or more stages: Root cause analysis completed, Planning completed, Coding completed, or Pull request created.

Learn more about issue lifecycle in Issue States and Triage and the Seer Autofix process.

Actions only run on issues matching the filters.

An Alert can have many If/Then blocks. Each If portion of a block evaluates filters matching a qualifier of all, any, or none logic. For each If block, you can only choose one qualifier:

  • all: every filter must match.
  • any: at least one filter must match.
  • none: no filter may match.

If you don't add any filters, your Alert will fire on every Issue matching just the selected qualifying trigger event(s) - created, escalated, etc.

FilterOptions
Issue ageThe issue is older than or newer than a value in minutes, hours, days, or weeks.
Issue assignmentThe issue is assigned to No One, a Team, or a organization Member.
Issue frequencyThe issue has happened at least a set number of times.
Issue categoryThe issue category is equal to or not equal to one of error, feedback, outage, metric, db_query, http_client, frontend, or mobile.
Issue typeThe issue type is equal to or not equal to a specific issue type, which is even more granular than category.
Issue priorityThe current issue priority is greater than or equal to high, medium, or low.
De-escalationThe issue priority de-escalates (ex. high -> medium, or medium -> low).

Frequency filters compare how often something happens. Each one supports two comparison modes:

  • more than...: an absolute count in an interval — in 5 minutes, in 15 minutes, in one hour, in one day, in one week, or in 30 days.
  • relatively higher than...: a percentage increase over a past interval — 5 minutes ago, 15 minutes ago, one hour ago, one day ago, one week ago, or 30 days ago.
FilterDescription
Number of eventsHow many events the issue has received.
Number of users affectedHow many unique users the issue has affected.
Percentage of sessions affectedCompares the issue's event count against an estimate of project sessions in the selected interval. Intervals are limited to 5 minutes, 10 minutes, 30 minutes, and one hour.

Frequency filters also accept sub-filters, which scope the count to a subset of events. Add one or more sub-filters in the form [Attribute or Tag] [is / is not] [value]. Multiple sub-filters are combined with and.

FilterOptions
Event attributeThe event's attribute matches a value. Attributes include message, platform, environment, type, error.handled, error.unhandled, error.main_thread, exception.type, exception.value, user.id, user.email, user.username, user.ip_address, http.method, http.url, http.status_code, sdk.name, stacktrace.code, stacktrace.module, stacktrace.filename, stacktrace.abs_path, stacktrace.package, unreal.crash_type, app.in_foreground, os.distribution_name, and os.distribution_version.
Tagged eventThe event's tag matches a value.
Event levelThe event's level equals, is greater than or equal, or is less than or equal to fatal, error, warning, info, debug, or sampling.
Latest releaseThe issue is in the latest release. This filter has no additional options.
Release ageThe oldest or newest adopted release associated with the event's issue is older than or newer than the latest adopted release in a given environment.

Event attribute and tag filters support these match types: contains, equals, starts with, ends with, does not contain, does not equal, does not start with, does not end with, is set, is not set, is one of, and is not one of.

Actions are what Sentry does when the triggers and filters match. Available actions depend on the integrations installed in your organization.

Read more about Notifications, Ticket Creation, and Other Integrations.

  • Notify on preferred channel: Notify Suggested Assignees, a Team, or a Member, and Sentry delivers via each recipient's notification settings. Suggested Assignees include current assignees, issue owners from ownership rules, and authors of suspect commits. When no suggested assignee is found, choose a fallback: Recently Active Members (default), All Project Members, or No One.
  • Slack: Select the workspace and channel. You can also add a channel or user ID to avoid rate limiting, and optionally show tags (for example, environment,my_tag) and notes (for example, @jane, @on-call-team) in the message.
  • Discord: Select the server and enter a channel ID or URL — a channel name won't work. You can optionally show tags in the message.
  • MS Teams: Select the team and channel.
  • PagerDuty: Select the service and the severity to send.
  • Opsgenie: Select the team and the priority to send.
  • Send a notification via an integration: Take action via a third party integration that supports Alert actions or trigger a custom webhook.

Create a work item in an issue tracker:

Each ticket creation action has its own settings panel, where you configure the fields Sentry sets on the work item it creates. The available fields come from the issue tracker, so they differ by integration.

Take action via a third party integration that supports Alert actions or to legacy integrations (plugins) configured on the project.

Click + If/Then Block to add another set of filters and actions to the same Alert. Every block evaluates separately against the same triggers, so you can route different event shapes to different places from a single Alert — for example, create a Jira ticket or Slack notification for every new issue, but only page on-call when the issue is high priority.

Throttling (previously called the action interval) controls how often the Alert can run its actions for a given issue. If events in an issue match triggers repeatedly within the throttle window, the actions won't run again until the throttle period has elapsed.

Options are Get notified on every trigger (the default), 5 minutes, 10 minutes, 30 minutes, 60 minutes, 3 hours, 12 hours, 24 hours, 1 week, and 30 days.

Sentry generates a name from your configuration as you build. To change it, click the name in the header at the top of the page and enter a descriptive one, such as "Frontend high priority to #frontend-oncall".

Click Create Alert to save. Sentry takes you to the Alert's details page, where you can review its history, edit it, or turn it off. Learn more in Managing Alerts.

The Then section only offers integrations that are installed in your organization and that support Alert actions. If one is missing, check that it's installed under Settings > Integrations, and that the integration supports being used as an Alert action. Some integrations support issue linking but not Alert actions.

Sentry caps how many Alerts an organization can create so that evaluation stays fast. When you exceed one, saving fails with an error naming the limit you hit. The ceilings can be raised, so contact support if your organization needs more. Otherwise, delete or turn off Alerts you're no longer acting on, or consolidate several narrow Alerts into one Alert with broader filters and multiple If/Then blocks.

Alerts that count events over a time window, such as The issue is seen more than 100 times in one hour, get a lower per-project ceiling than other Alerts because they're more expensive to evaluate.

Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").