Next.jsに`instrumentation.ts`を置くと、SSRやRSCのプロセスごとに1度呼び出される処理を登録できる。

efclefcl のブックマーク 2023/08/16 21:13

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Optimizing: Instrumentation | Next.js

    import { registerOTel } from '@vercel/otel' export function register() { registerOTel('next-app') } See the Next.js with OpenTelemetry example for a complete implementation. Good to know This featu...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう