Repository navigation
Conversation
On Nuxt >= 4.7, the module turns on the `nuxt` group of Nuxt's `tracingChannel` option when it also sets up the server SDK. A new server integration makes a `renderPage` or `renderErrorPage` span for each page render, as a child of the `http.server` root span. A `tracingChannel` value in the Nuxt config of the app wins. The Nitro channel groups stay off by default, because the SDK's own instrumentation already makes these spans.
Contributor
size-limit report 📦Compared: 5b847c3 (PR test merge using develop at cf84d81) Against: cf84d81 (develop) · base run #68198 ✅ Baseline matches: this diff contains only this PR's changes.
|
Contributor
Optional E2E testsSome optional checks were not successful. They do not block the merge. 1 not successful, 13 successful. See the run.
Successful checks
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
On Nuxt >= 4.7, each page render on the server now has a
renderPagespan under thehttp.serverroot span. The render of the error page has arenderErrorPagespan.nuxtgroup of Nuxt'stracingChanneloption when it also sets up the server SDK.tracingChannelvalue in the Nuxt config of the app wins, also when it comes from a layer.srvx,h3,unstorage,db0) stay off by default.Why
Nuxt publishes tracing channels for operations that the SDK cannot measure today, for example the page render. A new server integration makes the spans from the
nuxt.renderchannel.The SDK's own instrumentation stays the span source wherever it exists, because it also works on Nitro v2, which has no channels. So the rest of the span tree does not change.
One change for apps that set a partial object such as
tracingChannel: { nuxt: true }on Nitro v3: the Nitro groups are now off unless the object turns them on. Before, Nitro turned them on.Follow-up of #26928.