instrumentationHook

The experimental next.config flag that Next.js 13 and 14 needed to enable instrumentation.ts.

In more detail

In Next.js 15 instrumentation is stable and the flag is no longer needed. Remove it when upgrading, as it now only produces a warning.

Related terms

Taught in

References