Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to configure an alert as Low Urgency for PagerDuty #54921

Closed
cseas opened this issue Aug 17, 2023 · 7 comments
Closed

Add option to configure an alert as Low Urgency for PagerDuty #54921

cseas opened this issue Aug 17, 2023 · 7 comments

Comments

@cseas
Copy link

cseas commented Aug 17, 2023

Problem Statement

All alerts created from Sentry are reported as High Urgency on PagerDuty. We don't have any option to configure their urgency.

Screenshot_2023-08-17_at_1_08_36_PM

Solution Brainstorm

We need an option in alert configuration to set an alert as "Low Urgency" when its reported to PagerDuty. This is a critical requirement for us because our on-call developers receive phone calls for "High Urgency" alerts and we don't want to spam them for every alert created by Sentry.

@lforst lforst transferred this issue from getsentry/sentry-javascript Aug 17, 2023
@getsantry
Copy link
Contributor

getsantry bot commented Aug 17, 2023

Assigning to @getsentry/support for routing ⏲️

@getsantry
Copy link
Contributor

getsantry bot commented Aug 17, 2023

Routing to @getsentry/product-owners-alerts for triage ⏲️

@scefali
Copy link
Member

scefali commented Aug 17, 2023

Seems like a decent idea, adding to our backlog.

@abhieshekumar
Copy link

➕1, to the issue.

@Dhrumil-Sentry
Copy link

This should be supported for both Issue and Metric Alert rules

@cathteng
Copy link
Member

cathteng commented Mar 18, 2024

We are able to allow customization for the severity of the alert via the Pagerduty API https://developer.pagerduty.com/api-reference/368ae3d938c9e-send-an-event-to-pager-duty, and are adding support for this.

But whether an alert is high or low urgency is only configurable on the Pagerduty side. https://support.pagerduty.com/docs/configurable-service-settings#step-one-configure-urgencies-on-a-service
image

Edit:
Seems like this also happens

If an incident's urgency is set either in the web/mobile app or through the REST API when an incident is triggered, then that set urgency level will override whatever urgency setting is set on that service.

Edit x2:
The default translation of severity to urgency is here https://support.pagerduty.com/docs/dynamic-notifications#severity-and-urgency-mapping

@Dhrumil-Sentry
Copy link

This has been shipped, please see the changelog: https://sentry.io/changelog/change-the-severity-for-your-pagerduty-and-opsgenie-alerts/

@github-actions github-actions bot locked and limited conversation to collaborators Apr 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

8 participants