Unverified Commit 5ae588fc authored by vercel-fleet-prod[bot]'s avatar vercel-fleet-prod[bot] Committed by GitHub

Clarify telemetry module naming in tooling README

Co-authored-by: 's avatarWill Binns-Smith <755844+wbinnssmith@users.noreply.github.com>
parent 35e411ea
...@@ -20,8 +20,8 @@ let flush: (() => void | Promise<void>) | undefined ...@@ -20,8 +20,8 @@ let flush: (() => void | Promise<void>) | undefined
export async function register() { export async function register() {
if (process.env.NEXT_RUNTIME === 'nodejs') { if (process.env.NEXT_RUNTIME === 'nodejs') {
// An application-owned module that initializes the provider/exporter. // Your application-owned telemetry-node.ts module initializes the SDK.
const telemetry = await import('./telemetry.node') const telemetry = await import('./telemetry-node')
await telemetry.start() await telemetry.start()
flush = () => telemetry.forceFlush() flush = () => telemetry.forceFlush()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment