Releases: c-cube/ocaml-trace
0.10
CHANGES:
-
breaking: manual spans now take a
explicit_span_ctxas parent, that
can potentially be transmitted across processes/machines. It also
is intended to be more compatible with OTEL. -
breaking
trace.subscriber: timestamps areint64ns now, not floats -
breaking
trace: pass astringtrace_id in manual spans, which helps
for backends such as opentelemetry. It's also useful for extensions. -
refactor
trace-fuchsia: full revamp of the library, modularized, using subscriber API -
refactor
trace-tef: split into exporter,writer,subscriber, using subscriber API -
feat: add
trace.event, useful for background threads -
feat
trace.subscriber: addSpan_tbl, and a depopt on picos_aux -
feat
trace.subscriber: tee a whole array at once -
feat tef-tldrs: use EMIT_TEF_AT_EXIT
-
feat
trace.subscriber: depopt on unix for timestamps -
refactor
trace-tef: depopt on unix for TEF timestamps
0.9.1
0.9
0.8
0.7
0.6
CHANGES:
- add
ppx_tracefor easier instrumentation.let%trace span = "foo" in …will enter a scopespannamed "foo"let%trace () = "foo" in …will enter a scope named "foo" with a hidden name
- add
trace-fuchsiabackend, which produces traces in the binary format
of fuchsia.
These traces are reasonably efficient to produce (~60ns per span on my machines)
and reasonably compact on disk, at least compared to the TEF backend.
0.5
0.4
CHANGES:
-
add
?datatocounter_intandcounter_float -
add
floatto user data -
add
add_data_to_current_spanandadd_data_to_manual_span -
make
explicit_span.metamutable -
trace-tef: write to
trace.jsonif env variableTRACEis 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
0.2
CHANGES:
- trace-tef: additional argument to
with_setup; env for "stdout"/"stderr" - refactor: avoid conflicting with stdlib
Tracemodule by adding sublibrarytrace.core.
Programs that usecompiler-libs.toplevelshould usetrace.core
directly, because usingtracewill cause linking errors. - perf(trace-tef): improve behavior of collector under contention by
pulling all events at once in the worker