Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add telemetry for stack trace view (#49642)
Cole Millere07d0ba2e4aa
diff --git a/Cargo.lock b/Cargo.lockindex 800e9e2d2b0..4e1ea7131b4 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -4641,6 +4641,7 @@ dependencies = ["sysinfo 0.37.2","task","tasks_ui",+ "telemetry","terminal_view","text","theme",diff --git a/crates/debugger_ui/Cargo.toml b/crates/debugger_ui/Cargo.tomlindex f95712b0512..fb79b1b0790 100644--- a/crates/debugger_ui/Cargo.toml+++ b/crates/debugger_ui/Cargo.toml@@ -64,6 +64,7 @@ settings.workspace = truesysinfo.workspace = truetask.workspace = truetasks_ui.workspace = true+telemetry.workspace = trueterminal_view.workspace = truetext.workspace = truetheme.workspace = truediff --git a/crates/debugger_ui/src/stack_trace_view.rs b/crates/debugger_ui/src/stack_trace_view.rsindex adefa5e4993..02d6e793f29 100644--- a/crates/debugger_ui/src/stack_trace_view.rs+++ b/crates/debugger_ui/src/stack_trace_view.rs@@ -47,6 +47,8 @@ impl StackTraceView {window: &mut Window,cx: &mut Context<Self>,) -> Self {+ telemetry::event!("Stack Trace View Deployed");+let multibuffer = cx.new(|_| MultiBuffer::new(Capability::ReadWrite));let editor = cx.new(|cx| {let mut editor =