Skip to content

Commit 44a9eb8

Browse files
blarghmateyCopilot
andauthored
Update frontends/main/src/instrumentation.ts
Co-authored-by: Copilot <[email protected]>
1 parent c5581d7 commit 44a9eb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontends/main/src/instrumentation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function register() {
1111
await import("../sentry.edge.config")
1212
}
1313

14-
registerOTel({ serviceName: "mitlearn-frontend" })
14+
registerOTel({ serviceName: process.env.OTEL_SERVICE_NAME || "mitlearn-frontend" })
1515
}
1616

1717
export const onRequestError = Sentry.captureRequestError

0 commit comments

Comments
 (0)