mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 04:17:56 -04:00
fix test
This commit is contained in:
parent
103886ec83
commit
ccd4c43a93
1 changed files with 8 additions and 5 deletions
|
|
@ -7,12 +7,15 @@ let test_config_printing () =
|
||||||
Format.asprintf "%a" Config.pp @@ Env.make (fun common () -> common) ()
|
Format.asprintf "%a" Config.pp @@ Env.make (fun common () -> common) ()
|
||||||
in
|
in
|
||||||
let expected =
|
let expected =
|
||||||
"{ debug=false;\n\
|
"{ debug=false; log_level=none; sdk_disabled=false; self_trace=false;\n\
|
||||||
\ self_trace=false; url_traces=\"http://localhost:4318/v1/traces\";\n\
|
\ url_traces=\"http://localhost:4318/v1/traces\";\n\
|
||||||
\ url_metrics=\"http://localhost:4318/v1/metrics\";\n\
|
\ url_metrics=\"http://localhost:4318/v1/metrics\";\n\
|
||||||
\ url_logs=\"http://localhost:4318/v1/logs\"; headers=[]; batch_traces=400;\n\
|
\ url_logs=\"http://localhost:4318/v1/logs\"; headers=[]; headers_traces=[];\n\
|
||||||
\ batch_metrics=200; batch_logs=400; batch_timeout_ms=2000;\n\
|
\ headers_metrics=[]; headers_logs=[]; protocol=http/protobuf;\n\
|
||||||
\ http_concurrency_level=None }"
|
\ timeout_ms=10000; timeout_traces_ms=10000; timeout_metrics_ms=10000;\n\
|
||||||
|
\ timeout_logs_ms=10000; batch_traces=400; batch_metrics=200; \
|
||||||
|
batch_logs=400;\n\
|
||||||
|
\ batch_timeout_ms=2000; http_concurrency_level=None }"
|
||||||
in
|
in
|
||||||
check' string ~msg:"is rendered correctly" ~actual ~expected
|
check' string ~msg:"is rendered correctly" ~actual ~expected
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue