docs: replace vercel/otel link (#63173)

This commit is contained in:
Jiwon Choi 2024-03-13 12:16:47 +09:00 committed by GitHub
parent db9e345ae2
commit d60bcc0c00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,7 +18,7 @@ To set up instrumentation, create `instrumentation.ts|js` file in the **root dir
Then, export a `register` function in the file. This function will be called **once** when a new Next.js server instance is initiated.
For example, to use Next.js with [OpenTelemetry](https://opentelemetry.io/) and [@vercel/otel](https://github.com/vercel/otel):
For example, to use Next.js with [OpenTelemetry](https://opentelemetry.io/) and [@vercel/otel](https://vercel.com/docs/observability/otel-overview):
```ts filename="instrumentation.ts" switcher
import { registerOTel } from '@vercel/otel'