Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/serverless
SDK Version
7.103.0
Framework Version
NodeJS 20.10
Link to Sentry event
No response
SDK Setup
Index.mjs
import Sentry from "@sentry/serverless";
// Important: no DSN is inserted, no Sentry environment variables are set, these are all values given to Sentry
Sentry.AWSLambda.init({
enabled: false,
_experiments: {
metricsAggregator: true,
},
});
console.log("I keep running");
Steps to Reproduce
- Run code with
node index.mjs
- The node process will never stop, it 'hangs' on the metricsAggregator to 'finish' or something, which never happens.
Expected Result
Sentry not doing anything as it is disabled.
Actual Result
Need to kill the node process the hard way.
Metadata
Metadata
Assignees
Type
Projects
Status
No status