mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
doc
This commit is contained in:
parent
4e0d59d3f4
commit
212ff39d0b
1 changed files with 3 additions and 1 deletions
|
|
@ -104,7 +104,9 @@ end = struct
|
|||
}
|
||||
in
|
||||
|
||||
(* if [exporter] turns off, shut us down too *)
|
||||
(* if [exporter] turns off, shut us down too. Note that [shutdown]
|
||||
is idempotent so it won't lead to divergence when it shuts the
|
||||
exporter down. *)
|
||||
Aswitch.on_turn_off (OTEL.Exporter.active exporter) (fun () ->
|
||||
shutdown self);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue