MCPcopy Create free account
hub / github.com/nodejs/nodejs.org / register

Function register

apps/site/instrumentation.ts:1–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1export async function register() {
2 if (!('Cloudflare' in globalThis)) {
3 // Note: we don't need to set up the Vercel OTEL if the application is running on Cloudflare
4 const { registerOTel } = await import('@vercel/otel');
5 registerOTel({ serviceName: 'nodejs-org' });
6 }
7}

Callers 1

setup.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected