Skip to content

Commit

Permalink
prepare for 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Mar 8, 2024
1 parent 14b9f44 commit 267ac19
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 8 deletions.
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
(source
(github imandra-ai/ocaml-opentelemetry))

(version 0.7)
(version 0.8)

(authors "the Imandra team and contributors")

Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-client-cohttp-lwt.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.7"
version: "0.8"
synopsis: "Collector client for opentelemetry, using cohttp + lwt"
maintainer: [
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-client-ocurl.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.7"
version: "0.8"
synopsis: "Collector client for opentelemetry, using http + ezcurl"
maintainer: [
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-cohttp-lwt.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.7"
version: "0.8"
synopsis: "Opentelemetry tracing for Cohttp HTTP servers"
maintainer: [
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-lwt.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.7"
version: "0.8"
synopsis: "Lwt-compatible instrumentation for https://opentelemetry.io"
maintainer: [
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry.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.7"
version: "0.8"
synopsis: "Instrumentation for https://opentelemetry.io"
maintainer: [
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
Expand Down
4 changes: 2 additions & 2 deletions src/core/opentelemetry.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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. *)
Expand Down Expand Up @@ -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} *)
Expand Down

0 comments on commit 267ac19

Please sign in to comment.