Common interface for tracing/instrumentation libraries in OCaml
Find a file
2023-06-23 14:56:05 -04:00
.github/workflows require OCaml 4.08, since mtime 2.0 does 2023-06-09 10:09:19 -04:00
src feat trace-tef: add a ticker thread to ensure we flush the file regularly 2023-06-23 14:56:05 -04:00
test trace-tef: additional argument to with_setup; env for "stdout"/"stderr" 2023-06-12 13:30:06 -04:00
.gitignore initial commit 2023-06-08 21:25:34 -04:00
.ocamlformat initial commit 2023-06-08 21:25:34 -04:00
CHANGES.md prepare for 0.2 2023-06-15 13:16:39 -04:00
dune initial commit 2023-06-08 21:25:34 -04:00
dune-project prepare for 0.2 2023-06-15 13:16:39 -04:00
Makefile makefile: fix 2023-06-09 16:53:49 -04:00
README.md prepare for 0.1 2023-06-09 23:19:18 -04:00
trace-tef.opam prepare for 0.2 2023-06-15 13:16:39 -04:00
trace.opam prepare for 0.2 2023-06-15 13:16:39 -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)