From 32c0e0e493010c8a26a84db5b06e63d21ae5d22d Mon Sep 17 00:00:00 2001 From: Matt Bray Date: Tue, 22 Mar 2022 20:30:03 +0000 Subject: [PATCH] test: specify aggregation_temporality (required for datadog) --- tests/emit1.ml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/emit1.ml b/tests/emit1.ml index 62926025..3e34f595 100644 --- a/tests/emit1.ml +++ b/tests/emit1.ml @@ -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