Skip to content

Commit

Permalink
Docs: Add version tag and history for instrumentationHook (#69366)
Browse files Browse the repository at this point in the history
Related to:
https://linear.app/vercel/issue/DOC-3279/remove-instrumentationhook-tag-update-section-on-it-being-required

This feature will become stable in the Next.js RC release, we will then
need to update the docs.
  • Loading branch information
delbaoliveira committed Aug 27, 2024
1 parent 268d41d commit e5ae3b2
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ related:
links:
- app/api-reference/file-conventions/instrumentation
- app/building-your-application/optimizing/instrumentation
version: experimental
---

{/* The content of this doc is shared between the app and pages router. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}

{/* TODO: Add note about it not being needed once version 15 is stable */}

The experimental `instrumentationHook` option allows you to set up instrumentation via the [`instrumentation` file](/docs/app/api-reference/file-conventions/instrumentation) in your Next.js App.

```js filename="next.config.js"
Expand All @@ -19,3 +22,7 @@ module.exports = {
},
}
```

| Version | Changes |
| --------- | ----------------------------------------------------------- |
| `v13.2.0` | `instrumentationHook` introduced as an experimental feature |

0 comments on commit e5ae3b2

Please sign in to comment.