Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Url of the endpoint. Default is "http://localhost:4318", or "OTEL_EXPORTER_OTLP_ENDPOINT" if set.
Set http headers that are sent on every http query to the collector.
module Config : sig ... end
val create_backend :
?stop:bool Opentelemetry_atomic.Atomic.t ->
?config:Config.t ->
unit ->
(module Opentelemetry.Collector.BACKEND)
val setup :
?stop:bool Opentelemetry_atomic.Atomic.t ->
?config:Config.t ->
?enable:bool ->
unit ->
unit
Setup endpoint. This modifies Opentelemetry.Collector.backend
.
val with_setup :
?stop:bool Opentelemetry_atomic.Atomic.t ->
?config:Config.t ->
?enable:bool ->
unit ->
(unit -> 'a) ->
'a
with_setup () f
is like setup(); f()
but takes care of cleaning up after f()
returns See setup
for more details.