ocaml-trace/src
Simon Cruanes e50175298b
Add explicit spans, for async tracing.
These spans require the user to pass the surrounding span, if any, when
entering a new span. They use the information inside (which is collector
specific) to track what asynchronous task is currently being executed.

Wrappers around `trace`, specific to an async library (e.g. Eio, lwt,
Async, etc.) can then smooth this over by providing a `with_async_span`
construct that uses some implicit contextual storage to carry the
`surrounding` scope around.
2023-07-31 23:54:49 -04:00
..
core Add explicit spans, for async tracing. 2023-07-31 23:54:49 -04:00
tef Add explicit spans, for async tracing. 2023-07-31 23:54:49 -04:00
dune refactor: avoid the cursed stdlib Trace module by adding trace.core 2023-06-12 13:12:41 -04:00
trace.ml refactor: avoid the cursed stdlib Trace module by adding trace.core 2023-06-12 13:12:41 -04:00