mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
51 lines
1.3 KiB
Text
51 lines
1.3 KiB
Text
(env
|
|
(_
|
|
; Make the binaries for the test emitters available on the path for the components defined in this dir.
|
|
; See https://dune.readthedocs.io/en/stable/reference/dune/env.html
|
|
(binaries
|
|
(../bin/emit1.exe as emit1)
|
|
(../bin/emit1_cohttp.exe as emit1_cohttp)
|
|
(../bin/emit1_eio.exe as emit1_eio)
|
|
(./gather_signals.exe as gather_signals))))
|
|
|
|
(library
|
|
(name signal_gatherer)
|
|
(modules signal_gatherer)
|
|
(libraries
|
|
str
|
|
alcotest
|
|
cohttp-lwt-unix
|
|
fmt
|
|
unix
|
|
containers
|
|
logs.fmt
|
|
logs.threaded
|
|
opentelemetry.client))
|
|
|
|
(library
|
|
(name clients_e2e_lib)
|
|
(modules clients_e2e_lib)
|
|
(libraries alcotest signal_gatherer))
|
|
|
|
(tests
|
|
(names test_cottp_lwt_client_e2e)
|
|
(modules test_cottp_lwt_client_e2e)
|
|
(package opentelemetry-client-cohttp-lwt)
|
|
(enabled_if
|
|
(>= %{ocaml_version} 5.0))
|
|
(deps %{bin:emit1_cohttp})
|
|
(libraries clients_e2e_lib alcotest opentelemetry opentelemetry.client))
|
|
|
|
(tests
|
|
(names test_cottp_eio_client_e2e)
|
|
(modules test_cottp_eio_client_e2e)
|
|
(package opentelemetry-client-cohttp-eio)
|
|
(deps %{bin:emit1_eio})
|
|
(enabled_if
|
|
(>= %{ocaml_version} 5.0))
|
|
(libraries clients_e2e_lib alcotest opentelemetry opentelemetry.client))
|
|
|
|
(executable
|
|
(name signal_reporter_server)
|
|
(modules signal_reporter_server)
|
|
(libraries signal_gatherer))
|