ocaml-trace
ocaml-trace copied to clipboard
Common interface for tracing/instrumentation libraries in OCaml
this is a wip (I wanted to use "frames" in tracy to visualize GC spans but met timestamp-related issues).
A span (implicit or explicit) should be causally linkable to another span (or multiple other spans), either at creation time or with `add_data_to_span`. E.g. add `?link_to:span list -> …` to...
say you receive via HTTP a trace-id/span ID and want to process that request synchronously using the implicit `with_span` interface. There needs to be a way to associate the incoming...
Need to add an API entrypoint for libraries to self-report _what_ is producing traces — in OpenTelemetry, this is called '[instrumentation scope][].' Need to add a collector-agnostic method to report...
Hi @c-cube, Recently, we (with @felixL-K and @hra687261) have been hitting an issue in [owi](https://github.com/ocamlpro/owi). We (optionnaly) depends on Colibri2, which depends on `ocaml-trace`. But we also depends on `ocaml-compiler-libs`...
Hi, This afternoon I tried bumping my codebase to Ocaml 5.4, but it looks like because ocaml-trace 0.10 [pins ppxlib](https://github.com/c-cube/ocaml-trace/blob/main/ppx_trace.opam#L13) to under [0.36](https://opam.ocaml.org/packages/ppxlib/ppxlib.0.36.0/), we are transitively pinned to 5.3.0. The...