mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-07 18:37:56 -05:00
track spans: sort resulting list of unclosed spans
This commit is contained in:
parent
eb4abf2966
commit
ea59d09635
1 changed files with 2 additions and 1 deletions
|
|
@ -101,7 +101,8 @@ open struct
|
|||
{
|
||||
num;
|
||||
by_name =
|
||||
Str_map.fold (fun name id l -> (name, id) :: l) names_with_count [];
|
||||
Str_map.fold (fun name id l -> (name, id) :: l) names_with_count []
|
||||
|> List.sort Stdlib.compare;
|
||||
}
|
||||
in
|
||||
emit self unclosed_spans
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue