Add is_via_ssh field to editor events (#18837)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons
2024-10-08 10:30:04 -04:00
committed by GitHub
parent dd44168cad
commit 4c7a6f5e7f
4 changed files with 9 additions and 1 deletions
+2
View File
@@ -364,6 +364,7 @@ impl Telemetry {
operation: &'static str,
copilot_enabled: bool,
copilot_enabled_for_language: bool,
is_via_ssh: bool,
) {
let event = Event::Editor(EditorEvent {
file_extension,
@@ -371,6 +372,7 @@ impl Telemetry {
operation: operation.into(),
copilot_enabled,
copilot_enabled_for_language,
is_via_ssh,
});
self.report_event(event)