mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
58 lines
1.5 KiB
Text
58 lines
1.5 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
|
|
(re_export str)
|
|
(re_export alcotest)
|
|
(re_export cohttp)
|
|
conduit-lwt
|
|
conduit-lwt-unix
|
|
(re_export cohttp-lwt)
|
|
(re_export cohttp-lwt-unix)
|
|
(re_export fmt)
|
|
(re_export unix)
|
|
(re_export containers)
|
|
logs.fmt
|
|
logs.threaded
|
|
lwt
|
|
lwt.unix
|
|
(re_export opentelemetry)
|
|
(re_export 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))
|