mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 05:40:02 -06:00
8 lines
288 B
TypeScript
8 lines
288 B
TypeScript
export async function register() {
|
|
if (process.env.NEXT_RUNTIME === "nodejs" && process.env.OPENTELEMETRY_LISTENER_URL) {
|
|
const { startInstrumentationForNode } = await import("./instrumentation.node");
|
|
|
|
startInstrumentationForNode(process.env.OPENTELEMETRY_LISTENER_URL);
|
|
}
|
|
}
|