mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-07 18:37:56 -05:00
prepare for 0.4
This commit is contained in:
parent
0135a613a9
commit
4624d1800c
4 changed files with 18 additions and 6 deletions
13
CHANGES.md
13
CHANGES.md
|
|
@ -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
|
# 0.3
|
||||||
|
|
||||||
|
|
||||||
- add explicit spans, for more precise tracing
|
- add explicit spans, for more precise tracing
|
||||||
- rename repo to ocaml-trace
|
- rename repo to ocaml-trace
|
||||||
- trace-tef: add a ticker thread to ensure we flush the file regularly
|
- trace-tef: add a ticker thread to ensure we flush the file regularly
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
(name trace)
|
(name trace)
|
||||||
(generate_opam_files true)
|
(generate_opam_files true)
|
||||||
(version 0.3)
|
(version 0.4)
|
||||||
|
|
||||||
(source
|
(source
|
||||||
(github c-cube/ocaml-trace))
|
(github c-cube/ocaml-trace))
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
(package
|
(package
|
||||||
(name trace-tef)
|
(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
|
(depends
|
||||||
(ocaml (>= 4.08))
|
(ocaml (>= 4.08))
|
||||||
(trace (= :version))
|
(trace (= :version))
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
# This file is generated by dune, edit dune-project instead
|
# This file is generated by dune, edit dune-project instead
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
version: "0.3"
|
version: "0.4"
|
||||||
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"
|
||||||
maintainer: ["Simon Cruanes"]
|
maintainer: ["Simon Cruanes"]
|
||||||
authors: ["Simon Cruanes"]
|
authors: ["Simon Cruanes"]
|
||||||
license: "MIT"
|
license: "MIT"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# This file is generated by dune, edit dune-project instead
|
# This file is generated by dune, edit dune-project instead
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
version: "0.3"
|
version: "0.4"
|
||||||
synopsis:
|
synopsis:
|
||||||
"A stub for tracing/observability, agnostic in how data is collected"
|
"A stub for tracing/observability, agnostic in how data is collected"
|
||||||
maintainer: ["Simon Cruanes"]
|
maintainer: ["Simon Cruanes"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue