Add telemetry for stack trace view (#49642) (cherry-pick to preview) (#49644)

zed-zippy[bot] and Cole Miller created

Cherry-pick of #49642 to preview

----
Release Notes:

- N/A

Co-authored-by: Cole Miller <cole@zed.dev>

Change summary

Cargo.lock                                 | 1 +
crates/debugger_ui/Cargo.toml              | 1 +
crates/debugger_ui/src/stack_trace_view.rs | 2 ++
3 files changed, 4 insertions(+)

Detailed changes

Cargo.lock 🔗

@@ -4642,6 +4642,7 @@ dependencies = [
  "sysinfo 0.37.2",
  "task",
  "tasks_ui",
+ "telemetry",
  "terminal_view",
  "text",
  "theme",

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

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 =