package trace

  1. Overview
  2. Docs
A stub for tracing/observability, agnostic in how data is collected

Install

Dune Dependency

Authors

Maintainers

Sources

trace-0.2.tbz
sha256=8927276718e0cc3a991716c30d70742b84e474324372b302d37b0afe5b5ba894
sha512=3e1b71f81edd9262ad97f5c67d06f8b012ddc01a2514eb2e1e4832dae481cbef9d89eb132f236b233dd3a67d3c95051685686b63f2c8e82bcc0bacc2412d5f50

README.md.html

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

  • [x] spans

  • [x] messages

  • [x] counters

  • [ ] other metrics?

Backends

Concrete tracing or observability formats such as:

  • [ ] Fuchsia (see tracing)

  • Catapult

    • [x] light bindings here with trace-tef

    • [ ] richer bindings with ocaml-catapult, with multi-process backends, etc.

  • [x] Tracy (see ocaml-tracy, more specifically tracy-client.trace)

  • [x] Opentelemetry (see ocaml-opentelemetry, in opentelemetry.trace)

  • [ ] landmarks?

  • [ ] Logs (only for messages, obviously)

OCaml

Innovation. Community. Security.