mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -04:00
chore: scope test metrics
This commit is contained in:
parent
5792c875e8
commit
68b2952b76
1 changed files with 3 additions and 3 deletions
|
|
@ -13,9 +13,9 @@ let run () =
|
|||
let gc = Gc.stat() in
|
||||
T.Metrics.(
|
||||
emit [
|
||||
gauge ~name:"i" [int !i];
|
||||
gauge ~name:"major-heap-words" [int gc.Gc.heap_words];
|
||||
sum ~name:"minor-allocated" [float gc.Gc.minor_words];
|
||||
gauge ~name:"ocaml_opentracing.test.i" [int !i];
|
||||
gauge ~name:"ocaml_opentracing.test.major_heap_words" [int gc.Gc.heap_words];
|
||||
sum ~name:"ocaml_opentracing.test.minor_allocated" [float gc.Gc.minor_words];
|
||||
]);
|
||||
|
||||
incr i;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue