package trace-tef

  1. Overview
  2. Docs
A simple backend for trace, emitting Catapult JSON into a file

Install

Dune Dependency

Authors

Maintainers

Sources

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

Description

Tags

trace tracing catapult

Published: 16 Jun 2023

README

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)

Dependencies (5)

  1. dune >= "2.9"
  2. base-unix
  3. mtime >= "2.0"
  4. trace = version
  5. ocaml >= "4.08"

Dev Dependencies (1)

  1. odoc with-doc

Conflicts

None

OCaml

Innovation. Community. Security.