Skip to content

Commit

Permalink
Configure OTEL before Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
Rindrics committed Oct 24, 2024
1 parent 2ecdaaa commit 6dbdb6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instrumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import * as Sentry from "@sentry/nextjs";

export async function register() {
if (process.env.NEXT_RUNTIME === "nodejs") {
await import("./sentry.server.config");
await import("./instrumentation.node");
await import("./sentry.server.config");
}

if (process.env.NEXT_RUNTIME === "edge") {
Expand Down

0 comments on commit 6dbdb6f

Please sign in to comment.