Opentelemetry_client_ocurl.Configtype t = {debug : bool; | |
url : string; | (* Url of the endpoint. Default is "http://localhost:4318", or "OTEL_EXPORTER_OTLP_ENDPOINT" if set. *) |
headers : (string * string) list; | (* API headers sent to the endpoint. Default is none or "OTEL_EXPORTER_OTLP_HEADERS" if set. *) |
batch_traces : int option; | (* Batch traces? If Note that traces and metrics are batched separately. Default |
batch_metrics : int option; | (* Batch metrics? If Note that traces and metrics are batched separately. Default |
batch_logs : int option; | (* Batch logs? See |
batch_timeout_ms : int; | (* Number of milliseconds after which we will emit a batch, even incomplete. Note that the batch might take longer than that, because this is only checked when a new event occurs. Default 500. *) |
thread : bool; | (* Is there a background thread? Default |
ticker_thread : bool; | (* Is there a ticker thread? Default |
}val make :
?debug:bool ->
?url:string ->
?headers:(string * string) list ->
?batch_traces:int option ->
?batch_metrics:int option ->
?batch_logs:int option ->
?batch_timeout_ms:int ->
?thread:bool ->
?ticker_thread:bool ->
unit ->
tMake a configuration
val pp : Stdlib.Format.formatter -> t -> unit