mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-25 11:49:46 -05:00
e4078a3307
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
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);
|
|
}
|
|
}
|