From a514ff8fe290181d69ad9da78581dc369022f794 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Fri, 27 Feb 2026 14:57:32 -0500 Subject: [PATCH] compat 4.08 --- src/client/exporter_combine.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/exporter_combine.ml b/src/client/exporter_combine.ml index 0b17ec0b..e715a0a5 100644 --- a/src/client/exporter_combine.ml +++ b/src/client/exporter_combine.ml @@ -22,7 +22,7 @@ let combine_l (es : OTEL.Exporter.t list) : OTEL.Exporter.t = shutdown = (fun () -> List.iter OTEL.Exporter.shutdown es); self_metrics = (fun () -> - List.concat_map (fun e -> e.OTEL.Exporter.self_metrics ()) es); + List.flatten @@ List.map (fun e -> e.OTEL.Exporter.self_metrics ()) es); } (** [combine exp1 exp2] is the exporter that emits signals to both [exp1] and