Skip to content

Commit

Permalink
prepare for 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Sep 20, 2023
1 parent 0135a61 commit 4624d18
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
13 changes: 12 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(name trace)
(generate_opam_files true)
(version 0.3)
(version 0.4)

(source
(github c-cube/ocaml-trace))
Expand All @@ -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))
Expand Down
5 changes: 3 additions & 2 deletions trace-tef.opam
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion trace.opam
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down

0 comments on commit 4624d18

Please sign in to comment.