Common interface for tracing/instrumentation libraries in OCaml
Find a file
2023-06-09 16:08:21 -04:00
.github/workflows require OCaml 4.08, since mtime 2.0 does 2023-06-09 10:09:19 -04:00
src add thread/process name setting 2023-06-09 16:07:49 -04:00
test fix test: do not use feature not present in 4.08 2023-06-09 10:23:43 -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: change default watch target 2023-06-09 16:08:21 -04:00
README.md readme 2023-06-09 10:24:05 -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)
  • landmarks?
  • Logs (only for messages, obviously)