Add support for manual spans, expand instrumentation (#44663)

Release Notes:

- N/A

---------

Co-authored-by: Cameron <cameron@zed.dev>
This commit is contained in:
Yara 🏳️‍⚧️
2025-12-11 22:29:47 +00:00
committed by GitHub
co-authored by Cameron
parent 07748b7bae
commit 1029a8fbaf
13 changed files with 118 additions and 5 deletions
+2 -2
View File
@@ -166,8 +166,6 @@ fn fail_to_open_window(e: anyhow::Error, _cx: &mut App) {
pub static STARTUP_TIME: OnceLock<Instant> = OnceLock::new();
pub fn main() {
ztracing::init();
STARTUP_TIME.get_or_init(|| Instant::now());
#[cfg(unix)]
@@ -242,6 +240,7 @@ pub fn main() {
}
zlog::init();
if stdout_is_a_pty() {
zlog::init_output_stdout();
} else {
@@ -251,6 +250,7 @@ pub fn main() {
zlog::init_output_stdout();
};
}
ztracing::init();
let version = option_env!("ZED_BUILD_ID");
let app_commit_sha =