package opentelemetry

  1. Overview
  2. Docs

Export GC metrics.

These metrics are emitted after each GC collection.

val basic_setup : unit -> unit

Setup a hook that will emit GC statistics regularly

val get_runtime_attributes : unit -> Span.key_value list

Get OCaml name and version runtime attributes

val get_metrics : unit -> Metrics.t list

Get a few metrics from the current state of the GC