package opentelemetry-client

  1. Overview
  2. Docs
Client SDK for https://opentelemetry.io

Install

dune-project
 Dependency

Authors

Maintainers

Sources

opentelemetry-0.90.tbz
sha256=c3989bb678f57e5276209d3c60afb29cdca33122288de55e591fbbe2e50a662c
sha512=ba8339256c9b2d8c99c8304991a3047f280a01e492add4cf82bf1d43dfa51e790366c09c6901c0501b8b8e1f810c6e128e33dd33542d785013407f642ade4eea

doc/src/opentelemetry-client.sync/shutdown_sync.ml.html

Source file shutdown_sync.ml

1
2
3
4
5
6
7
8
9
10
open Common_

(** Shutdown this exporter and block the thread until it's done.

    With the new Exporter.t interface, shutdown is synchronous. This function is
    kept for backwards compatibility. *)
let shutdown (exp : OTEL.Exporter.t) : unit = OTEL.Exporter.shutdown exp

(** Shutdown main exporter and wait *)
let shutdown_main () : unit = Option.iter shutdown (OTEL.Sdk.get ())