c-cube / trace

Common interface for tracing/instrumentation libraries in OCaml

Home Page:https://c-cube.github.io/trace/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Common interface for tracing/instrumentation libraries in OCaml

https://c-cube.github.io/trace/


Languages

Language:OCaml 99.0%Language:Makefile 1.0%