Skip to content

Commit 3920344

Browse files
update comment
1 parent 091680d commit 3920344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/otel/traces.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ fn flatten_events(events: &[Event], span_start_time_unix_nano: u64) -> Vec<Map<S
192192
);
193193
event_json.insert("event_name".to_string(), Value::String(event.name.clone()));
194194

195-
// Calculate event duration in milliseconds from span start
195+
// Calculate event duration in nanoseconds from span start
196196
let duration_nanos = event
197197
.time_unix_nano
198198
.saturating_sub(span_start_time_unix_nano);

0 commit comments

Comments
 (0)