compat 4.08

This commit is contained in:
Simon Cruanes 2026-02-27 14:57:32 -05:00
parent e3da59dd97
commit a514ff8fe2
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -22,7 +22,7 @@ let combine_l (es : OTEL.Exporter.t list) : OTEL.Exporter.t =
shutdown = (fun () -> List.iter OTEL.Exporter.shutdown es); shutdown = (fun () -> List.iter OTEL.Exporter.shutdown es);
self_metrics = self_metrics =
(fun () -> (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 (** [combine exp1 exp2] is the exporter that emits signals to both [exp1] and