Common interface for tracing/instrumentation libraries in OCaml
Find a file
Simon Cruanes 4e527284ae
readme
2023-06-09 10:02:35 -04:00
.github/workflows ci 2023-06-09 09:40:21 -04:00
src remove domain stub entirely 2023-06-09 09:55:42 -04:00
test change API 2023-06-09 09:34:31 -04:00
.gitignore initial commit 2023-06-08 21:25:34 -04:00
.ocamlformat initial commit 2023-06-08 21:25:34 -04:00
dune initial commit 2023-06-08 21:25:34 -04:00
dune-project dep on mtime >= 2.0 2023-06-09 09:58:51 -04:00
Makefile initial commit 2023-06-08 21:25:34 -04:00
README.md readme 2023-06-09 10:02:35 -04:00
trace-tef.opam add trace-tef, a simple backend 2023-06-08 22:31:32 -04:00
trace.opam add trace-tef, a simple backend 2023-06-08 22:31:32 -04:00

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.
  • Tracy (see ocaml-tracy)
  • landmarks?
  • Logs (only for messages, obviously)