getsentry / getsentry/sentry

Issue alert slack messages to update initial message on resolution/archiving

Open
#99,969 3 comments 0 reactions 0 assignees View on GitHub
Feature Metrics Product Area: Settings - Integrations Slack
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Problem Statement

I have Sentry issue alerts set up in my project, that post to Slack. I have them configured at a relatively sensitive threshold, so I receive alerts for many issues. Furthermore, I have a process where I want the oncall engineer to acknowledge every alert, by doing one of the following:

1. Land a fix / suppression in the code, and mark the issue as Resolved
2. "Snooze" the issue by Archiving it for some time / until it hits a volume threshold

If they do not take one of these actions, the alert will retrigger the next day (action interval 24h), sending a new slack message.

In this model, it is difficult to see, when scrolling the slack channel, the state of those alerts. Furthermore, the Sentry UI is not helpful for going down the set of "issues firing alerts". It can show archived & resolved issues, but not whether they were firing alerts recently for example.

The fact that Sentry posts future firings into a thread instead of the channel directly is great.

When you resolve or archive an issue, Sentry does post an update into the thread with the information: "Jordi Paris Ferrer marked as resolved in an upcoming release" which is also great.

However, these do not let you get a sense from the channel itself the state of those issues & alerts without a few clicks into Sentry.

### Solution Brainstorm

Extend the slack thread message to also edit the top-level message, or ideally every message in the thread. Maybe changing the color, adding some strike outs, etc to make it clear that the issue that triggered the alert has been actioned within Sentry.

For example, the Pagerduty slack integration will update their message with acked, resolved states:

Image

### Product Area

Alerts

We want to define a set of [lightweight metrics]() that SDKs can automatically collect for e.g. framework, language or platform, focusing only on signals that **do NOT overlap with Tracing**. Ideally these metrics should give a quick sense of app or runtime health, … while deeper investigation will still rely on traces or profiles.

Examples**:**

* Node.js runtime metrics (e.g., event loop delay, heap usage)
* Prisma-related metrics in Next.js
* Mobile CPU / memory usage to help surface potential ANRs or app hangs

---

**Candidate Metrics (add more below)**

* …

*(please also add ideas, questions or examples in comments)*

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing Slack alert thread-update flow and how resolution or archiving events are posted into the thread. The issue does not identify files, tests, or an agreed visual treatment, so a product decision is needed before implementation; done would mean that resolved or archived alerts clearly update the original Slack message or thread.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, observability
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.