diff --git a/src/client/client_config.ml b/src/client/client_config.ml index aa1c1d5e..efc1c011 100644 --- a/src/client/client_config.ml +++ b/src/client/client_config.ml @@ -132,7 +132,7 @@ module Env () : ENV = struct let set_headers s = headers := s let make k ?(debug = get_debug ()) ?url ?url_traces ?url_metrics ?url_logs - ?(batch_traces = Some 400) ?(batch_metrics = Some 20) + ?(batch_traces = Some 400) ?(batch_metrics = Some 200) ?(batch_logs = Some 400) ?(headers = get_headers ()) ?(batch_timeout_ms = 2_000) ?(self_trace = false) ?http_concurrency_level = diff --git a/src/client/client_config.mli b/src/client/client_config.mli index 6aedb128..913642f4 100644 --- a/src/client/client_config.mli +++ b/src/client/client_config.mli @@ -20,7 +20,7 @@ type t = private { [i] items. If [None], there is no batching. Note that traces and metrics are batched separately. Default - [Some 20]. *) + [Some 200]. *) batch_logs: int option; (** Batch logs? See {!batch_metrics} for details. Default [Some 400] *) batch_timeout_ms: int; @@ -29,8 +29,8 @@ type t = private { this is only checked when a new event occurs or when a tick is emitted. Default 2_000. *) self_trace: bool; - (** If true, the OTEL library will also emit its own spans. Default - [false]. + (** If true, the OTEL library will perform some self-instrumentation. + Default [false]. @since 0.7 *) http_concurrency_level: int option; (** How many HTTP requests can be done simultaneously (at most)?