getsentry / getsentry/sentry

Slack integration report device tag values differently to the Sentry UI

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

Description

### Environment

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

### Version

*No response*

### Steps to Reproduce

1. Setup mobile app project (I'm using the RN SDK but I doubt it matters).
2. Setup Slack alert that reports the `device` tag.
3. Send event to Sentry from a mobile device.
4. See Slack notification disagrees with the UI about what the `device` tag value is.

### Expected Result

Consistent result between Sentry UI and Slack alert.

Looks like the Slack notification takes the underlying model number but the UI translates it to a more friendly "marketing" name.

### Actual Result

Sentry UI:

![image](https://uploads.linear.app/3ed206af-f87a-40aa-82a0-150bf83e43e6/174bdf47-1737-48fc-a4a6-d7ad8232869a/db8efc6e-47d7-487a-86f7-d6ae40521ccb?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiLzNlZDIwNmFmLWY4N2EtNDBhYS04MmEwLTE1MGJmODNlNDNlNi8xNzRiZGY0Ny0xNzM3LTQ4ZmMtYTRhNi1kN2FkODIzMjg2OWEvZGI4ZWZjNmUtNDdkNy00ODdhLTg2ZjctZDZhZTQwNTIxY2NiIiwiaWF0IjoxNzY5MjEwNzY1LCJleHAiOjE4MDA3ODEzMjV9.G-6f0Bb2Jcmx33S4tmKUU04wQmLD5HXRVXTsXXdzAgg)

Slack notification:

![image](https://uploads.linear.app/3ed206af-f87a-40aa-82a0-150bf83e43e6/90fa4e9d-aac9-4c52-9b2a-5b1981796640/5ff945e0-e8aa-4dc1-95d2-85a3291187f6?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiLzNlZDIwNmFmLWY4N2EtNDBhYS04MmEwLTE1MGJmODNlNDNlNi85MGZhNGU5ZC1hYWM5LTRjNTItOWIyYS01YjE5ODE3OTY2NDAvNWZmOTQ1ZTAtZThhYS00ZGMxLTk1ZDItODVhMzI5MTE4N2Y2IiwiaWF0IjoxNzY5MjEwNzY1LCJleHAiOjE4MDA3ODEzMjV9.PtxrAuvAa_Cn3hoBdnupOVYyUjLkV1sUvNw8VD9QVqw)

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.