Fix editor edited event property field name (#24145)
Release Notes: - N/A
This commit is contained in:
parent
45708d2680
commit
11e095b56a
1 changed files with 2 additions and 2 deletions
|
@ -359,14 +359,14 @@ impl Telemetry {
|
|||
drop(state);
|
||||
|
||||
if let Some((start, end, environment)) = period_data {
|
||||
let duration_milliseconds = end
|
||||
let duration = end
|
||||
.saturating_duration_since(start)
|
||||
.min(Duration::from_secs(60 * 60 * 24))
|
||||
.as_millis() as i64;
|
||||
|
||||
telemetry::event!(
|
||||
"Editor Edited",
|
||||
duration_milliseconds = duration_milliseconds,
|
||||
duration = duration,
|
||||
environment = environment.to_string(),
|
||||
is_via_ssh = is_via_ssh
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue