getsentry / getsentry/sentry

Route Metric Alerts to incident.io

Open
#88,159 4 comments 2 reactions 0 assignees View on GitHub
Product Area: Alerts
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Problem Statement

Currently, Sentry's incident.io integration only supports routing issue alerts. This limitation prevents users from leveraging incident.io incident management capabilities for metric alerts. Specifically, it's not possible to:

* Route metric alerts to incident.io for Slack channel notifications or incident creation.
* Differentiate between critical and warning states of metric alerts when notifying incident.io, leading to a lack of granular control over incident response based on severity.

![Image](https://github.com/user-attachments/assets/1ebe1418-a9f5-42f0-ba22-1b0220b6238e)

### Solution Brainstorm

It would be great if the incident.io integration could be extended to support metric alerts. This could mean:

* Allowing users to configure incident.io as a destination for metric alerts within Sentry's alert rules.
* Providing options to map metric alert severity levels (critical, warning) to specific incident.io incident types or Slack channel notifications.
* Including relevant metric data (value, timestamp, threshold) within the incident.io payload.

### Product Area

Alerts

Contributor guide

Open the contributing guide

Research direction

Start by locating Sentry's existing incident.io integration and the alert-rule handling for issue alerts. Trace how metric alerts expose critical and warning states, then define the integration changes needed for routing, severity mapping, and metric data in the incident.io payload. Done means metric alerts can be configured for incident.io with the requested severity-aware notifications.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.