We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 128ebb9 commit 363b1c3Copy full SHA for 363b1c3
controlplane/src/core/sentry.config.ts
@@ -3,6 +3,7 @@ import * as Sentry from '@sentry/node';
3
4
import { nodeProfilingIntegration } from '@sentry/profiling-node';
5
import { eventLoopBlockIntegration } from '@sentry/node-native';
6
+import { fastifyIntegration } from '@sentry/node';
7
8
export interface SentryConfig {
9
sentry: {
@@ -21,6 +22,7 @@ export function init(opts: SentryConfig) {
21
22
Sentry.init({
23
dsn: opts.sentry.dsn,
24
integrations: [
25
+ fastifyIntegration(),
26
eventLoopBlockIntegration({ threshold: opts.sentry.eventLoopBlockIntegrationThresholdMs }),
27
nodeProfilingIntegration(),
28
],
0 commit comments