Common interface for tracing/instrumentation libraries in OCaml
Find a file
2023-06-09 22:48:45 -04:00
.github/workflows require OCaml 4.08, since mtime 2.0 does 2023-06-09 10:09:19 -04:00
src tef: remove dead code 2023-06-09 22:48:45 -04:00
test api change: message does not take location 2023-06-09 16:53:53 -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 require OCaml 4.08, since mtime 2.0 does 2023-06-09 10:09:19 -04:00
Makefile makefile: fix 2023-06-09 16:53:49 -04:00
README.md readme 2023-06-09 19:48:57 -04:00
trace-tef.opam require OCaml 4.08, since mtime 2.0 does 2023-06-09 10:09:19 -04:00
trace.opam require OCaml 4.08, since mtime 2.0 does 2023-06-09 10:09:19 -04:00

Trace

Build and Test

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, more specifically tracy-client.trace)
  • Opentelemetry (see ocaml-opentelemetry, in opentelemetry.trace)
  • landmarks?
  • Logs (only for messages, obviously)