getsentry / getsentry/sentry

Missing Channel ID could be clearer

Open
#57,490 0 comments 0 reactions 0 assignees View on GitHub
Improvement Metrics
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
1d 5h
Merged PRs (30d)
624

Description

### Environment

SaaS ([https://sentry.io/]())

### Steps to Reproduce

1. Create a new metric alert, or edit an existing one
2. Add an action with Discord as the target
3. Leave the channel ID blank
4. Save Rule

### Expected Result

The empty field should be highlighted, or the error should state which specific field is missing. Or do both.

### Actual Result

When saving a metric alert with a discord action and no channel ID, the error thrown is not clear which field is missing

![Image](https://uploads.linear.app/3ed206af-f87a-40aa-82a0-150bf83e43e6/1fdb6614-ed82-4b7b-b296-94451f79abe5/13611660-6787-445a-8b10-7ad67da55dea?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiLzNlZDIwNmFmLWY4N2EtNDBhYS04MmEwLTE1MGJmODNlNDNlNi8xZmRiNjYxNC1lZDgyLTRiN2ItYjI5Ni05NDQ1MWY3OWFiZTUvMTM2MTE2NjAtNjc4Ny00NDVhLThiMTAtN2FkNjdkYTU1ZGVhIiwiaWF0IjoxNzY5MjEwNzY2LCJleHAiOjE4MDA3ODEzMjZ9.ADyFB6kLVms1Q5ysmAfmNAujMgLF80X5spd5ybN8lIE)

### Product Area

Alerts

### Link

*No response*

### DSN

*No response*

### Version

*No response*

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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.