diff --git a/CHANGES.md b/CHANGES.md index bfb70f15..ac180129 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,12 @@ + +## 0.8 + +- feat: add dep on `hmap`, add standard keys to carry around a span context or trace id +- add semantic conventions for code and HTTP + +- better debug message in curl backend +- make otel-trace a bit more lightweight + ## 0.7 - add Span_link.of_span_ctx, Scope.to_span_ctx, dummy values diff --git a/dune-project b/dune-project index 63684022..7f3b0d62 100644 --- a/dune-project +++ b/dune-project @@ -7,7 +7,7 @@ (source (github imandra-ai/ocaml-opentelemetry)) -(version 0.7) +(version 0.8) (authors "the Imandra team and contributors") diff --git a/opentelemetry-client-cohttp-lwt.opam b/opentelemetry-client-cohttp-lwt.opam index c2cb3305..af2c7fa6 100644 --- a/opentelemetry-client-cohttp-lwt.opam +++ b/opentelemetry-client-cohttp-lwt.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.7" +version: "0.8" synopsis: "Collector client for opentelemetry, using cohttp + lwt" maintainer: [ "Simon Cruanes " diff --git a/opentelemetry-client-ocurl.opam b/opentelemetry-client-ocurl.opam index 4070a5c0..157bf1d5 100644 --- a/opentelemetry-client-ocurl.opam +++ b/opentelemetry-client-ocurl.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.7" +version: "0.8" synopsis: "Collector client for opentelemetry, using http + ezcurl" maintainer: [ "Simon Cruanes " diff --git a/opentelemetry-cohttp-lwt.opam b/opentelemetry-cohttp-lwt.opam index ed7950c8..e4850760 100644 --- a/opentelemetry-cohttp-lwt.opam +++ b/opentelemetry-cohttp-lwt.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.7" +version: "0.8" synopsis: "Opentelemetry tracing for Cohttp HTTP servers" maintainer: [ "Simon Cruanes " diff --git a/opentelemetry-lwt.opam b/opentelemetry-lwt.opam index 82bae68c..fe4d4e18 100644 --- a/opentelemetry-lwt.opam +++ b/opentelemetry-lwt.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.7" +version: "0.8" synopsis: "Lwt-compatible instrumentation for https://opentelemetry.io" maintainer: [ "Simon Cruanes " diff --git a/opentelemetry.opam b/opentelemetry.opam index 756e1860..0c19d367 100644 --- a/opentelemetry.opam +++ b/opentelemetry.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.7" +version: "0.8" synopsis: "Instrumentation for https://opentelemetry.io" maintainer: [ "Simon Cruanes " diff --git a/src/core/opentelemetry.ml b/src/core/opentelemetry.ml index 75d9765f..84cdd0ae 100644 --- a/src/core/opentelemetry.ml +++ b/src/core/opentelemetry.ml @@ -328,7 +328,7 @@ end (** Hmap key to carry around a {!Trace_id.t}, to remember what the current trace is. - @since NEXT_RELEASE *) + @since 0.8 *) let k_trace_id : Trace_id.t Hmap.key = Hmap.Key.create () (** Unique ID of a span. *) @@ -486,7 +486,7 @@ end (** Hmap key to carry around a {!Span_ctx.t}, e.g. to remember what the current parent span is. - @since NEXT_RELEASE *) + @since 0.8 *) let k_span_ctx : Span_ctx.t Hmap.key = Hmap.Key.create () (** {2 Attributes and conventions} *)