Closed
Description
The generic server instrumentation in the Next.js SDK contains a lot of code, complexity, and a spoooky side-effect. All of the performance and error instrumentation is already covered by our wrappers.
Upsides:
- Way less code to maintain
- Removes a side effect from the package
- Allows us to simplify our
isBuild
function
Potential downsides:
We stop sending certain transactions which may trigger some things in the product (alerts, ...)(See discussion in this issue)- If people turn off auto-wrapping with
instrumentServerFunctions: false
they will not send any server-side transactions anymore