From 99e3f85c55ef1123d252f9285429dc498f1b04a8 Mon Sep 17 00:00:00 2001 From: Daniel Emery Date: Thu, 28 Sep 2023 14:14:22 +0200 Subject: [PATCH] #35 Explicitly include performance metrics integrations for sentry --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index af77400..12bd441 100644 --- a/src/index.ts +++ b/src/index.ts @@ -77,7 +77,9 @@ async function initialise() { Sentry.init({ dsn: config.SENTRY_DSN, integrations: [ - ...Sentry.autoDiscoverNodePerformanceMonitoringIntegrations(), + new Sentry.Integrations.Http({ tracing: true }), + new Sentry.Integrations.Express({ app }), + new Sentry.Integrations.Postgres(), new Sentry.Integrations.Prisma({ client: persistence.getPrismaClient() }), new Sentry.Integrations.Apollo(), ],