package trace-tef

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

Install

Dune Dependency

Authors

Maintainers

Sources

trace-0.5.tbz
sha256=97436f58f181775591f9be745971187e9b6e0948dd6bc32567fa396278113488
sha512=4d47458ec2b014be292498e3e99ca5f7de00e3958dab01cb758254b16c7ce23e1eabd809c5063c5b4f7aeda63ffa38473b008227807a206b018068e63b4526e9

CHANGES.md.html

0.5

  • perf: reduce overhead in trace-tef

  • perf: add Mpsc_queue, adapted from picos, to trace-tef

0.4

  • add ?data to counter_int and counter_float

  • add float to user data

  • add add_data_to_current_span and add_data_to_manual_span

  • make explicit_span.meta mutable

  • trace-tef: write to trace.json if env variable TRACE is either 1 or true

  • trace-tef: emit function name, if provided, as a metadata key/value pair

  • re-export trace.core in trace

  • perf: in trace-tef, use broadcast instead of signal in the job queue

0.3

  • add explicit spans, for more precise tracing

  • rename repo to ocaml-trace

  • trace-tef: add a ticker thread to ensure we flush the file regularly

0.2

  • trace-tef: additional argument to with_setup; env for "stdout"/"stderr"

  • refactor: avoid conflicting with stdlib Trace module by adding sublibrary trace.core. Programs that use compiler-libs.toplevel should use trace.core directly, because using trace will cause linking errors.

  • perf(trace-tef): improve behavior of collector under contention by pulling all events at once in the worker

0.1

initial release

OCaml

Innovation. Community. Security.