mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-07 18:37:56 -05:00
prepare for 0.11
This commit is contained in:
parent
c9cd56d0b5
commit
c711a0dc66
6 changed files with 35 additions and 18 deletions
17
CHANGES.md
17
CHANGES.md
|
|
@ -1,3 +1,20 @@
|
||||||
|
# 0.11
|
||||||
|
|
||||||
|
- entire rework of the collector, now lighter, and using an open sum type
|
||||||
|
for `span`. No global state is required anymore.
|
||||||
|
- add `enabled` to the collector
|
||||||
|
- extensible `metric`; pass level around in collector
|
||||||
|
- remove unused deps on hmap, thread-local-storage
|
||||||
|
- add `Trace.with_setup_collector`
|
||||||
|
- add `trace.debug` to find what spans were not closed on exit
|
||||||
|
- remove dead code and `on_tracing_error`
|
||||||
|
- remove subscriber entirely
|
||||||
|
- core: remove `current_span` from collector
|
||||||
|
- update deps to ppxlib=0.37~
|
||||||
|
- breaking: use poly variants for `user_data/span_flavor`
|
||||||
|
- use `at_exit` in `trace_tef` and `tldrs`
|
||||||
|
- fix fuchsia: bound check
|
||||||
|
|
||||||
# 0.10
|
# 0.10
|
||||||
|
|
||||||
- breaking: manual spans now take a `explicit_span_ctx` as parent, that
|
- breaking: manual spans now take a `explicit_span_ctx` as parent, that
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,10 @@
|
||||||
|
|
||||||
(generate_opam_files true)
|
(generate_opam_files true)
|
||||||
|
|
||||||
(version 0.10)
|
(version 0.11)
|
||||||
|
|
||||||
(source
|
(source
|
||||||
(github c-cube/ocaml-trace))
|
(github ocaml-tracing/ocaml-trace))
|
||||||
|
|
||||||
(authors "Simon Cruanes")
|
(authors "Simon Cruanes")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
# 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.10"
|
version: "0.11"
|
||||||
synopsis: "A ppx-based preprocessor for trace"
|
synopsis: "A ppx-based preprocessor for trace"
|
||||||
maintainer: ["Simon Cruanes"]
|
maintainer: ["Simon Cruanes"]
|
||||||
authors: ["Simon Cruanes"]
|
authors: ["Simon Cruanes"]
|
||||||
license: "MIT"
|
license: "MIT"
|
||||||
tags: ["trace" "ppx"]
|
tags: ["trace" "ppx"]
|
||||||
homepage: "https://github.com/c-cube/ocaml-trace"
|
homepage: "https://github.com/ocaml-tracing/ocaml-trace"
|
||||||
bug-reports: "https://github.com/c-cube/ocaml-trace/issues"
|
bug-reports: "https://github.com/ocaml-tracing/ocaml-trace/issues"
|
||||||
depends: [
|
depends: [
|
||||||
"ocaml" {>= "4.12"}
|
"ocaml" {>= "4.12"}
|
||||||
"ppxlib" {>= "0.37" & < "0.38"}
|
"ppxlib" {>= "0.37" & < "0.38"}
|
||||||
|
|
@ -35,4 +35,4 @@ build: [
|
||||||
]
|
]
|
||||||
["dune" "install" "-p" name "--create-install-files" name]
|
["dune" "install" "-p" name "--create-install-files" name]
|
||||||
]
|
]
|
||||||
dev-repo: "git+https://github.com/c-cube/ocaml-trace.git"
|
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-trace.git"
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
# 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.10"
|
version: "0.11"
|
||||||
synopsis:
|
synopsis:
|
||||||
"A high-performance backend for trace, emitting a Fuchsia trace into a file"
|
"A high-performance backend for trace, emitting a Fuchsia trace into a file"
|
||||||
maintainer: ["Simon Cruanes"]
|
maintainer: ["Simon Cruanes"]
|
||||||
authors: ["Simon Cruanes"]
|
authors: ["Simon Cruanes"]
|
||||||
license: "MIT"
|
license: "MIT"
|
||||||
tags: ["trace" "tracing" "fuchsia"]
|
tags: ["trace" "tracing" "fuchsia"]
|
||||||
homepage: "https://github.com/c-cube/ocaml-trace"
|
homepage: "https://github.com/ocaml-tracing/ocaml-trace"
|
||||||
bug-reports: "https://github.com/c-cube/ocaml-trace/issues"
|
bug-reports: "https://github.com/ocaml-tracing/ocaml-trace/issues"
|
||||||
depends: [
|
depends: [
|
||||||
"ocaml" {>= "4.08"}
|
"ocaml" {>= "4.08"}
|
||||||
"trace" {= version}
|
"trace" {= version}
|
||||||
|
|
@ -34,5 +34,5 @@ build: [
|
||||||
]
|
]
|
||||||
["dune" "install" "-p" name "--create-install-files" name]
|
["dune" "install" "-p" name "--create-install-files" name]
|
||||||
]
|
]
|
||||||
dev-repo: "git+https://github.com/c-cube/ocaml-trace.git"
|
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-trace.git"
|
||||||
available: arch != "s390x"
|
available: arch != "s390x"
|
||||||
|
|
|
||||||
|
|
@ -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.10"
|
version: "0.11"
|
||||||
synopsis:
|
synopsis:
|
||||||
"A simple backend for trace, emitting Catapult/TEF JSON into a file"
|
"A simple backend for trace, emitting Catapult/TEF JSON into a file"
|
||||||
maintainer: ["Simon Cruanes"]
|
maintainer: ["Simon Cruanes"]
|
||||||
|
|
@ -9,8 +9,8 @@ license: "MIT"
|
||||||
tags: [
|
tags: [
|
||||||
"trace" "tracing" "catapult" "TEF" "chrome-format" "chrome-trace" "json"
|
"trace" "tracing" "catapult" "TEF" "chrome-format" "chrome-trace" "json"
|
||||||
]
|
]
|
||||||
homepage: "https://github.com/c-cube/ocaml-trace"
|
homepage: "https://github.com/ocaml-tracing/ocaml-trace"
|
||||||
bug-reports: "https://github.com/c-cube/ocaml-trace/issues"
|
bug-reports: "https://github.com/ocaml-tracing/ocaml-trace/issues"
|
||||||
depends: [
|
depends: [
|
||||||
"ocaml" {>= "4.08"}
|
"ocaml" {>= "4.08"}
|
||||||
"trace" {= version}
|
"trace" {= version}
|
||||||
|
|
@ -35,4 +35,4 @@ build: [
|
||||||
]
|
]
|
||||||
["dune" "install" "-p" name "--create-install-files" name]
|
["dune" "install" "-p" name "--create-install-files" name]
|
||||||
]
|
]
|
||||||
dev-repo: "git+https://github.com/c-cube/ocaml-trace.git"
|
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-trace.git"
|
||||||
|
|
|
||||||
|
|
@ -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.10"
|
version: "0.11"
|
||||||
synopsis:
|
synopsis:
|
||||||
"A lightweight stub for tracing/observability, agnostic in how data is collected"
|
"A lightweight stub for tracing/observability, agnostic in how data is collected"
|
||||||
description: """
|
description: """
|
||||||
|
|
@ -12,8 +12,8 @@ maintainer: ["Simon Cruanes"]
|
||||||
authors: ["Simon Cruanes"]
|
authors: ["Simon Cruanes"]
|
||||||
license: "MIT"
|
license: "MIT"
|
||||||
tags: ["trace" "tracing" "observability" "profiling"]
|
tags: ["trace" "tracing" "observability" "profiling"]
|
||||||
homepage: "https://github.com/c-cube/ocaml-trace"
|
homepage: "https://github.com/ocaml-tracing/ocaml-trace"
|
||||||
bug-reports: "https://github.com/c-cube/ocaml-trace/issues"
|
bug-reports: "https://github.com/ocaml-tracing/ocaml-trace/issues"
|
||||||
depends: [
|
depends: [
|
||||||
"ocaml" {>= "4.08"}
|
"ocaml" {>= "4.08"}
|
||||||
"dune" {>= "2.9"}
|
"dune" {>= "2.9"}
|
||||||
|
|
@ -39,4 +39,4 @@ build: [
|
||||||
]
|
]
|
||||||
["dune" "install" "-p" name "--create-install-files" name]
|
["dune" "install" "-p" name "--create-install-files" name]
|
||||||
]
|
]
|
||||||
dev-repo: "git+https://github.com/c-cube/ocaml-trace.git"
|
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-trace.git"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue