mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
Update src/client/config.mli
Co-authored-by: Corentin Leruth <corentin.leruth@gmail.com>
This commit is contained in:
parent
0b2faca469
commit
48926c25e5
1 changed files with 2 additions and 2 deletions
|
|
@ -110,8 +110,8 @@ module type ENV = sig
|
||||||
; common: t
|
; common: t
|
||||||
}
|
}
|
||||||
|
|
||||||
let make : (?new_field -> unit) make =
|
let make : (new_field:string -> unit) make =
|
||||||
Env.make (fun common ?new_field () -> {new_field; common})
|
Env.make (fun common ~new_field () -> {new_field; common})
|
||||||
|
|
||||||
let _example : extended_config =
|
let _example : extended_config =
|
||||||
make ~new_field:"foo" ~url_traces:"foo/bar" ~debug:true ()
|
make ~new_field:"foo" ~url_traces:"foo/bar" ~debug:true ()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue