From c1b74d8f4004631ffbc861a815dcf07fe9aae16d Mon Sep 17 00:00:00 2001 From: Molly Draven Date: Fri, 21 Jun 2024 19:27:25 -0400 Subject: [PATCH] chore: update Sentry import to use namespace import --- apps/main/server.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/main/server.ts b/apps/main/server.ts index 971461bc7..5bdf0be79 100755 --- a/apps/main/server.ts +++ b/apps/main/server.ts @@ -14,7 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import Sentry from "@sentry/node"; +import * as Sentry from "@sentry/node"; import { nodeProfilingIntegration } from "@sentry/profiling-node"; import { getServerLogger } from "rusty-motors-shared"; import { verifyLegacyCipherSupport } from "rusty-motors-shared"; @@ -43,7 +43,6 @@ export default async function main() { profilesSampleRate: 1.0, // Profiling sample rate is relative to tracesSampleRate integrations: [ nodeProfilingIntegration(), - ...Sentry.autoDiscoverNodePerformanceMonitoringIntegrations(), ], _experiments: { metricsAggregator: true,