Repository navigation
Enable tracing within the cli and builder framework - #12894
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 109ce38 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
LukeSheard
force-pushed
the
lukeps/clitracing
branch
from
February 3, 2025 16:13
4009bda to
0a2296c
Compare
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
LukeSheard
force-pushed
the
lukeps/clitracing
branch
from
February 3, 2025 16:58
0a2296c to
94bdfb4
Compare
LukeSheard
force-pushed
the
lukeps/clitracing
branch
from
February 3, 2025 17:28
94bdfb4 to
4b2dcf1
Compare
LukeSheard
force-pushed
the
lukeps/clitracing
branch
from
February 3, 2025 17:36
4b2dcf1 to
b313124
Compare
LukeSheard
marked this pull request as ready for review
February 3, 2025 22:01
LukeSheard
requested review from
EndangeredMassa,
TooTallNate,
erikareads,
huozhi,
ijjk,
jeffsee55,
onsclom,
timneutkens,
trek and
ztanner
as code owners
February 3, 2025 22:01
LukeSheard
force-pushed
the
lukeps/clitracing
branch
from
February 10, 2025 17:01
1a388bf to
cecb648
Compare
basic tracing support output in root of output directory Generate traceId tag spans Add changeset Fix trace Use exported builder names
LukeSheard
force-pushed
the
lukeps/clitracing
branch
from
February 11, 2025 08:47
84171ec to
fdeeb9f
Compare
LukeSheard
force-pushed
the
lukeps/clitracing
branch
from
February 11, 2025 08:48
fdeeb9f to
9141bad
Compare
timneutkens
reviewed
Feb 11, 2025
|
|
||
| const duration = Date.now() - this._start; | ||
| // durations are reported in microseconds | ||
| const duration = (Date.now() - this._start) * 1000; |
Contributor
There was a problem hiding this comment.
This should use process.hrtime
timneutkens
previously approved these changes
Feb 11, 2025
healeycodes
reviewed
Feb 11, 2025
healeycodes
reviewed
Feb 11, 2025
EndangeredMassa
approved these changes
Feb 11, 2025
| JSON.stringify(reporter.events) | ||
| ); | ||
| } catch (err) { | ||
| output.error('Failed to write diagnostics trace file'); |
Contributor
There was a problem hiding this comment.
Suggested change
| output.error('Failed to write diagnostics trace file'); | |
| output.error(`Failed to write diagnostics trace file: ${diagnosticsOutputPath}`); |
LukeSheard
enabled auto-merge
February 11, 2025 16:30
LukeSheard
disabled auto-merge
February 11, 2025 16:45
Merged
LukeSheard
pushed a commit
that referenced
this pull request
Feb 11, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @vercel/[email protected] ### Minor Changes - Support process tracing ([#12894](#12894)) ## [email protected] ### Minor Changes - Support process tracing ([#12894](#12894)) ### Patch Changes - Fixed bug where rewrites would be applied twice in some cases ([#13040](#13040)) - Updated dependencies \[[`cc0b7194b119f72f59f77f9fba7e7a1188dac03c`](cc0b719), [`7e1ee69be35db77d7692c07f5eab255ce24399de`](7e1ee69), [`1f1186f26c6189c36098c76e3acda69ccb1790e0`](1f1186f), [`6a4c779704d777e11370a19df5bcba168dd6dd48`](6a4c779)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Minor Changes - Support process tracing ([#12894](#12894)) ### Patch Changes - Fixed bug where rewrites would be applied twice in some cases ([#13040](#13040)) - pin fixtures and set up auto updates ([#12979](#12979)) ## @vercel/[email protected] ### Minor Changes - Add support for custom server entrypoint in React Router apps ([#13043](#13043)) ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`cc0b7194b119f72f59f77f9fba7e7a1188dac03c`](cc0b719)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`cc0b7194b119f72f59f77f9fba7e7a1188dac03c`](cc0b719)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`cc0b7194b119f72f59f77f9fba7e7a1188dac03c`](cc0b719)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[]: - @vercel/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
QuietCraftsmanship
pushed a commit
to QuietCraftsmanship/Vercel
that referenced
this pull request
Jul 6, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @vercel/[email protected] ### Minor Changes - Support process tracing ([#12894](vercel/vercel#12894)) ## [email protected] ### Minor Changes - Support process tracing ([#12894](vercel/vercel#12894)) ### Patch Changes - Fixed bug where rewrites would be applied twice in some cases ([#13040](vercel/vercel#13040)) - Updated dependencies \[[`90dd70d026529fe592da78492536a83658432283`](vercel/vercel@90dd70d), [`0d025a1fe736563b876df7619e750e1552ac2ad3`](vercel/vercel@0d025a1), [`b4110af6ee40e3c0f617f38e1194c0ac6b8852e3`](vercel/vercel@b4110af), [`a3b803f90bd4fd3e81a52b44e118923ef7a110ad`](vercel/vercel@a3b803f)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Minor Changes - Support process tracing ([#12894](vercel/vercel#12894)) ### Patch Changes - Fixed bug where rewrites would be applied twice in some cases ([#13040](vercel/vercel#13040)) - pin fixtures and set up auto updates ([#12979](vercel/vercel#12979)) ## @vercel/[email protected] ### Minor Changes - Add support for custom server entrypoint in React Router apps ([#13043](vercel/vercel#13043)) ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`90dd70d026529fe592da78492536a83658432283`](vercel/vercel@90dd70d)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`90dd70d026529fe592da78492536a83658432283`](vercel/vercel@90dd70d)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`90dd70d026529fe592da78492536a83658432283`](vercel/vercel@90dd70d)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[]: - @vercel/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This branch was successfully 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.

To enable open telemetry and metric aggregation on our builder layers, I've added a port of the next.js tracing implementation which is compatible with our open telemetry ingestion.
This allows us to construct build spans across the CLI & zero-config builder framework and we'll eventually be able to reconstruct these into telemetry spans on the backend.