mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
test: specify aggregation_temporality (required for datadog)
This commit is contained in:
parent
84c9bdba35
commit
32c0e0e493
1 changed files with 3 additions and 1 deletions
|
|
@ -15,7 +15,9 @@ let run () =
|
|||
T.Metrics.(
|
||||
emit [
|
||||
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];
|
||||
sum ~name:"ocaml_opentracing.test.minor_allocated" [float gc.Gc.minor_words]
|
||||
~aggregation_temporality:Aggregation_temporality_cumulative
|
||||
;
|
||||
]);
|
||||
in
|
||||
let _al = Gc.create_alarm emit_gc in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue