Opentelemetry_client_ocurlUrl of the endpoint. Default is "http://localhost:4318", or "OTEL_EXPORTER_OTLP_ENDPOINT" if set.
Set a lock/unlock pair to protect the critical sections of Opentelemetry.Collector.BACKEND
module Config : sig ... endval setup : ?config:Config.t -> ?enable:bool -> unit -> unitSetup endpoint. This modifies Opentelemetry.Collector.backend.
val with_setup :
?config:Config.t ->
?enable:bool ->
unit ->
( unit -> 'a ) ->
'awith_setup () f is like setup(); f() but takes care of cleaning up after f() returns.