ocaml-opentelemetry/tests/bin/dune
Simon Cruanes 5605a75f25
add a basic example with cohttp and trace-lwt
note that there's no explicit context being passed!
2023-09-13 15:16:26 -04:00

23 lines
651 B
Text

(executable
(name emit1)
(modules emit1)
(libraries unix opentelemetry opentelemetry-client-ocurl))
(executable
(name emit1_cohttp)
(modules emit1_cohttp)
(preprocess (pps lwt_ppx))
(libraries unix opentelemetry opentelemetry-lwt opentelemetry-client-cohttp-lwt lwt.unix))
(executable
(name emit2_cohttp)
(modules emit2_cohttp)
(preprocess (pps lwt_ppx))
(libraries unix trace-lwt opentelemetry opentelemetry.trace
opentelemetry-client-cohttp-lwt lwt lwt.unix))
(executable
(name cohttp_client)
(modules cohttp_client)
(libraries cohttp-lwt-unix opentelemetry opentelemetry-client-cohttp-lwt
opentelemetry-cohttp-lwt))