You are currently viewing documentation for the canary channel of Next.js
instrumentationHook
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,
},
}
Version | Changes |
---|---|
v13.2.0 | instrumentationHook introduced as an experimental feature |
Was this helpful?