mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-15 14:59:58 -04:00
45 lines
960 B
OCaml
45 lines
960 B
OCaml
open Clients_e2e_lib
|
|
|
|
(* NOTE: This port must be different from that used by other integration tests,
|
|
to prevent socket binding clashes. *)
|
|
let port = 4361
|
|
|
|
let url = Printf.sprintf "http://localhost:%d" port
|
|
|
|
let () =
|
|
Clients_e2e_lib.run_tests ~port
|
|
[
|
|
( "emit1",
|
|
{
|
|
url;
|
|
jobs = 1;
|
|
procs = 1;
|
|
n_outer = 1;
|
|
iterations = 1;
|
|
batch_traces = 2;
|
|
batch_metrics = 2;
|
|
batch_logs = 2;
|
|
} );
|
|
( "emit1",
|
|
{
|
|
url;
|
|
jobs = 3;
|
|
procs = 1;
|
|
n_outer = 1;
|
|
iterations = 1;
|
|
batch_traces = 400;
|
|
batch_metrics = 3;
|
|
batch_logs = 400;
|
|
} );
|
|
( "emit1",
|
|
{
|
|
url;
|
|
jobs = 3;
|
|
procs = 1;
|
|
n_outer = 5;
|
|
iterations = 1;
|
|
batch_traces = 400;
|
|
batch_metrics = 3;
|
|
batch_logs = 400;
|
|
} );
|
|
]
|