mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
compat 4.08
This commit is contained in:
parent
e3da59dd97
commit
a514ff8fe2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue