Skip to content

armgit / zed

Public Imported from GitHub
0

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.lock
index 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.toml
index f95712b0512..fb79b1b0790 100644
--- a/crates/debugger_ui/Cargo.toml
+++ b/crates/debugger_ui/Cargo.toml
@@ -64,6 +64,7 @@ settings.workspace = true
sysinfo.workspace = true
task.workspace = true
tasks_ui.workspace = true
+telemetry.workspace = true
terminal_view.workspace = true
text.workspace = true
theme.workspace = true
diff --git a/crates/debugger_ui/src/stack_trace_view.rs b/crates/debugger_ui/src/stack_trace_view.rs
index 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 =