Skip to content

instrumentationHook

This API is currently experimental and subject to change.

The experimental instrumentationHook option allows you to set up instrumentation via the instrumentation file in your Next.js App.

next.config.js
module.exports = {
  experimental: {
    instrumentationHook: true,
  },
}
VersionChanges
v13.2.0instrumentationHook introduced as an experimental feature