Skip to content

Commit 4624d18

Browse files
committed
prepare for 0.4
1 parent 0135a61 commit 4624d18

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

CHANGES.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11

2-
# 0.3
2+
# 0.4
3+
4+
- add `?data` to `counter_int` and `counter_float`
5+
- add `float` to user data
6+
- add `add_data_to_current_span` and `add_data_to_manual_span`
7+
- make `explicit_span.meta` mutable
8+
- trace-tef: write to `trace.json` if env variable `TRACE` is either 1 or true
9+
- trace-tef: emit function name, if provided, as a metadata key/value pair
10+
- re-export trace.core in trace
311

12+
- perf: in trace-tef, use broadcast instead of signal in the job queue
13+
14+
# 0.3
415

516
- add explicit spans, for more precise tracing
617
- rename repo to ocaml-trace

dune-project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
(name trace)
44
(generate_opam_files true)
5-
(version 0.3)
5+
(version 0.4)
66

77
(source
88
(github c-cube/ocaml-trace))
@@ -23,7 +23,7 @@
2323

2424
(package
2525
(name trace-tef)
26-
(synopsis "A simple backend for trace, emitting Catapult JSON into a file")
26+
(synopsis "A simple backend for trace, emitting Catapult/TEF JSON into a file")
2727
(depends
2828
(ocaml (>= 4.08))
2929
(trace (= :version))

trace-tef.opam

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "0.3"
4-
synopsis: "A simple backend for trace, emitting Catapult JSON into a file"
3+
version: "0.4"
4+
synopsis:
5+
"A simple backend for trace, emitting Catapult/TEF JSON into a file"
56
maintainer: ["Simon Cruanes"]
67
authors: ["Simon Cruanes"]
78
license: "MIT"

trace.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "0.3"
3+
version: "0.4"
44
synopsis:
55
"A stub for tracing/observability, agnostic in how data is collected"
66
maintainer: ["Simon Cruanes"]

0 commit comments

Comments
 (0)