prepare for 0.4

This commit is contained in:
Simon Cruanes 2023-09-20 09:26:20 -04:00
parent 0135a613a9
commit 4624d1800c
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
4 changed files with 18 additions and 6 deletions

View file

@ -1,7 +1,18 @@
# 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

View file

@ -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))

View file

@ -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"

View file

@ -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"]