Skip to content

Commit

Permalink
prepare for 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Jan 31, 2025
1 parent 66573bd commit c3c5761
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

- run: opam exec -- dune build @install -p opentelemetry,opentelemetry-lwt,opentelemetry-client-ocurl,opentelemetry-cohttp-lwt,opentelemetry-client-cohttp-lwt

- run: opam install trace.0.7
- run: opam install trace.0.9
- run: opam exec -- dune build @install -p opentelemetry

- run: opam install ocaml-protoc
Expand Down
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@

## 0.11

- add `Span_kind.t`, add {kind,set_kind} to `Scope`
- expose `Span_status` types
- add `Scope.set_span_status`
- add `record_exception`
- otel.trace: extension points for links, record_exn, kind
- otel.trace: set status of a span based on `exception.message`

- add cohttp upper bound version constraint
- in backends, call `tick()` before cleaning up
- reduce memory usage of `Scope.t` (@tatchi)

- remove dependency on ambient-context, vendor/inline/specialize it

## 0.10

- feat: add support for per-signal urls (by @tatchi)
Expand Down
4 changes: 2 additions & 2 deletions 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.10)
(version 0.11)

(authors "the Imandra team and contributors")

Expand Down Expand Up @@ -48,7 +48,7 @@
(depopts trace lwt eio)
(conflicts
(trace
(< 0.7)))
(< 0.9)))
(tags
(instrumentation tracing opentelemetry datadog jaeger)))

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.10"
version: "0.11"
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.10"
version: "0.11"
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.10"
version: "0.11"
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.10"
version: "0.11"
synopsis: "Lwt-compatible instrumentation for https://opentelemetry.io"
maintainer: [
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
Expand Down
4 changes: 2 additions & 2 deletions 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.10"
version: "0.11"
synopsis: "Instrumentation for https://opentelemetry.io"
maintainer: [
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
Expand All @@ -27,7 +27,7 @@ depends: [
]
depopts: ["trace" "lwt" "eio"]
conflicts: [
"trace" {< "0.7"}
"trace" {< "0.9"}
]
build: [
["dune" "subst"] {dev}
Expand Down

0 comments on commit c3c5761

Please sign in to comment.