getsentry / getsentry/sentry

Is there a way to automatically enable monitoring for new lambda functions when using sentry extension?

Open
#45,412 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

### Problem Statement

We're considering using the extension for our services, but it looks like we have to ask sentry admin to enable monitoring for each new function added, which is not an option since we create a lot of lambda's.
Is there a way to automatically enable monitoring for new lambda functions?

### Solution Brainstorm

*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.