Opentelemetry.CollectorCollector types
These types are used by backend implementations, to send events to collectors such as Jaeger.
Note: most users will not need to touch this module
Sender interface for a message of type msg. Inspired from Logs' reporter (see its doc)
module type BACKEND = sig ... endCollector client interface.
type backend = (module BACKEND)val backend : backend option Stdlib.refval send_trace :
Proto.Trace.resource_spans list ->
over:( unit -> unit ) ->
ret:( unit -> 'a ) ->
'aval send_metrics :
Proto.Metrics.resource_metrics list ->
over:( unit -> unit ) ->
ret:( unit -> 'a ) ->
'a