Set tracer library version (#98262)
### What? Sets the correct Next.js library version for Otel traces. ### Why? The tracer instance was configured with a hard coded "0.0.1" library version. This is confusing since it makes it look like trace spans were produced by `next@0.0.1`. Instead I'm setting the library version to the current Next.js version. ### How? I'm using the `__NEXT_VERSION` env var, which gets replaced by the package.json version during build.
Showing
Please
register
or
sign in
to comment