From 4624d1800cb1dc7916296cf68bfe01fa217751b8 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Wed, 20 Sep 2023 09:26:20 -0400 Subject: [PATCH] prepare for 0.4 --- CHANGES.md | 13 ++++++++++++- dune-project | 4 ++-- trace-tef.opam | 5 +++-- trace.opam | 2 +- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index d01e984..3fa583c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,17 @@ -# 0.3 +# 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 diff --git a/dune-project b/dune-project index 5d4bce1..32d47f5 100644 --- a/dune-project +++ b/dune-project @@ -2,7 +2,7 @@ (name trace) (generate_opam_files true) -(version 0.3) +(version 0.4) (source (github c-cube/ocaml-trace)) @@ -23,7 +23,7 @@ (package (name trace-tef) - (synopsis "A simple backend for trace, emitting Catapult JSON into a file") + (synopsis "A simple backend for trace, emitting Catapult/TEF JSON into a file") (depends (ocaml (>= 4.08)) (trace (= :version)) diff --git a/trace-tef.opam b/trace-tef.opam index 16a126f..b7d427c 100644 --- a/trace-tef.opam +++ b/trace-tef.opam @@ -1,7 +1,8 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.3" -synopsis: "A simple backend for trace, emitting Catapult JSON into a file" +version: "0.4" +synopsis: + "A simple backend for trace, emitting Catapult/TEF JSON into a file" maintainer: ["Simon Cruanes"] authors: ["Simon Cruanes"] license: "MIT" diff --git a/trace.opam b/trace.opam index f485ac7..b2d9513 100644 --- a/trace.opam +++ b/trace.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.3" +version: "0.4" synopsis: "A stub for tracing/observability, agnostic in how data is collected" maintainer: ["Simon Cruanes"]