Collector.Debug_backend
val send_trace : Opentelemetry_proto.Trace.resource_spans list sender
val send_metrics : Opentelemetry_proto.Metrics.resource_metrics list sender
val send_logs : Opentelemetry_proto.Logs.resource_logs list sender
Signal the backend that it should emit GC metrics when it has the chance. This should be installed in a GC alarm or another form of regular trigger.
val set_on_tick_callbacks : (unit -> unit) AList.t -> unit
Give the collector the list of callbacks to be executed when tick()
is called. Each such callback should be short and reentrant. Depending on the collector's implementation, it might be called from a thread that is not the one that called on_tick
.