mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-07 18:37:56 -05:00
Common interface for tracing/instrumentation libraries in OCaml
| .github/workflows | ||
| src | ||
| test | ||
| .gitignore | ||
| .ocamlformat | ||
| CHANGES.md | ||
| dune | ||
| dune-project | ||
| Makefile | ||
| README.md | ||
| trace-tef.opam | ||
| trace.opam | ||
Trace
This small library provides basic types that can be used to instrument a library or application, either by hand or via a ppx.
Features
- spans
- messages
- counters
- other metrics?
Backends
Concrete tracing or observability formats such as:
- Fuchsia (see tracing)
- Catapult
- light bindings here with
trace-tef - richer bindings with ocaml-catapult, with multi-process backends, etc.
- light bindings here with
- Tracy (see ocaml-tracy, more specifically
tracy-client.trace) - Opentelemetry (see ocaml-opentelemetry, in
opentelemetry.trace) - landmarks?
- Logs (only for messages, obviously)