mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-08 03:47:57 -04: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;
|
num;
|
||||||
by_name =
|
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
|
in
|
||||||
emit self unclosed_spans
|
emit self unclosed_spans
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue