mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-07 19:30:07 -05:00
e0f180bf04
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
9 lines
228 B
TypeScript
9 lines
228 B
TypeScript
import { env } from "@formbricks/lib/env";
|
|
|
|
// instrumentation.ts
|
|
export const register = async () => {
|
|
if (process.env.NEXT_RUNTIME === "nodejs" && env.PROMETHEUS_ENABLED) {
|
|
await import("./instrumentation-node");
|
|
}
|
|
};
|