getsentry / getsentry/sentry

Update domain objects to contain minimum set

Open
#66,751 1 comment 0 reactions 0 assignees View on GitHub
Component: Integrations Improvement Metrics Product Area: Issues
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

We are querying for the entire domain object in NotificationMessage repository. Instead of doing this, try to only query and retain the minimum set of data needed (aggregate root) for the domain object. Look for this ticket in the comments to find the areas that need updating.

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.