We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c101bf9 commit 01e327aCopy full SHA for 01e327a
src/loader.ts
@@ -17,6 +17,7 @@ import { config as dotenv } from "dotenv";
17
import { NodeTracerProvider } from "@opentelemetry/sdk-trace-node";
18
import { SentryPropagator, SentrySampler, SentrySpanProcessor } from "@sentry/opentelemetry";
19
import { context, propagation, trace } from "@opentelemetry/api";
20
+import { eventLoopBlockIntegration } from "@sentry/node-native";
21
22
dotenv();
23
@@ -58,6 +59,10 @@ const cli = sentryInit({
58
59
}),
60
rewriteFramesIntegration({
61
iteratee: frameStackIteratee
62
+ }),
63
+ eventLoopBlockIntegration({
64
+ threshold: 250,
65
+ maxEventsPerHour: 3,
66
})
67
],
68
});
0 commit comments