Skip to content

Commit

Permalink
feat(integrations): custom alert priorities (#9503)
Browse files Browse the repository at this point in the history
  • Loading branch information
cathteng committed Mar 20, 2024
1 parent d02c796 commit 87c5058
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ If you added an integration key during installation, it'll appear on the configu

You can set up a new alert rule via the Opsgenie integration configuration page by clicking on the **Add Alert Rule** button in the **Project Configuration** section, or by going to the **Alerts** page in Sentry.

To create an [issue alert](/product/alerts/alert-types/#issue-alerts) in Sentry, go to the **Alerts** page and click "Create Alert". After you've decided what you want to be alerted about, you'll be able to choose to "Send an Opsgenie notification" from the "Add action" dropdown. You can then choose your account and team:
To create an [issue alert](/product/alerts/alert-types/#issue-alerts) in Sentry, go to the **Alerts** page and click "Create Alert". After you've decided what you want to be alerted about, you'll be able to choose to "Send an Opsgenie notification" from the "Add action" dropdown. You can then choose your account, team, and priority for the alert.

![Opsgenie issue alert rule action](/product/integrations/notification-incidents/opsgenie/opsgenie-issue-alert-rule.png)

If you'd rather be alerted when a specific metric crosses a threshold, you can set a [metric alert](/product/alerts/alert-types/#metric-alerts) by following the same steps as above. Once you've chosen the metric you want to be alerted about, click "Add Action", then select Opsgenie from the notification types dropdown.
If you'd rather be alerted when a specific metric crosses a threshold, you can set a [metric alert](/product/alerts/alert-types/#metric-alerts) by following the same steps as above. Once you've chosen the metric you want to be alerted about, click "Add Action", then select Opsgenie from the notification types dropdown. You can also select a custom priority for the alert, or leave it blank to use the default severity level that Sentry provides for incident statuses ("P1" for critical status and "P2" for warning status)

![Opsgenie metric alert rule action](/product/integrations/notification-incidents/opsgenie/opsgenie-metric-alert-rule.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ If you re-generate an integration key for one of your services in PagerDuty you

Click "Add Alert Rule" in the integration configuration page or go to **Alerts** and click "Create Alert" to set up a new alert rule for the PagerDuty integration.

In [issue alerts](/product/alerts/alert-types/#issue-alerts), select "Send a PagerDuty notification" in the actions dropdown and then select your account and service:
In [issue alerts](/product/alerts/alert-types/#issue-alerts), select "Send a PagerDuty notification" in the actions dropdown and then select your account and service. You can also select a custom severity for alert, or select "default" to use the default severity level that Sentry provides for issue types ("critical" for fatal, "error" for error, "warning" for warning, and "info" for debug and info issues).

![PagerDuty alert rule action](/product/integrations/notification-incidents/pagerduty/pd_alert_rule.png)

In [metric alerts](/product/alerts/alert-types/#metric-alerts), select the PagerDuty option in the dropdown that corresponds to your account and the select your service:
In [metric alerts](/product/alerts/alert-types/#metric-alerts), select the PagerDuty option in the dropdown that corresponds to your account and the select your service. You can also select a custom severity for the alert, or leave it blank to use the default severity level that Sentry provides for incident statuses ("critical" for critical status and "warning" for warning status).

![PagerDuty metric alert rule action](/product/integrations/notification-incidents/pagerduty/pd_metric_alert_rule.png)

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 87c5058

Please sign in to comment.