Skip to content

Commit e073983

Browse files
andrewimmmischnic
authored andcommitted
Adding more system info to the 'initialize project' trace (#92427)
1 parent 8a540b5 commit e073983

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

crates/next-api/src/project.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,13 @@ impl ProjectContainer {
586586
"initialize project",
587587
project_name = %this.name,
588588
version = options.next_version.as_str(),
589+
node_version = options.current_node_js_version.as_str(),
590+
os = std::env::consts::OS,
591+
arch = std::env::consts::ARCH,
592+
cpu_cores = std::thread::available_parallelism()
593+
.map(|n| n.get())
594+
.unwrap_or(0),
595+
dev = options.dev,
589596
env_diff = Empty
590597
);
591598
let span_clone = span.clone();

0 commit comments

Comments
 (0)