prepare for 0.13

This commit is contained in:
Simon Cruanes 2026-03-03 09:05:24 -05:00
parent 4a2c5927a1
commit e232ef8a23
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
10 changed files with 63 additions and 31 deletions

View file

@ -6,6 +6,8 @@
`ambient-context` 0.2 package directly instead. To configure the `ambient-context` 0.2 package directly instead. To configure the
storage backend, call `Ambient_context.set_current_storage` (e.g. storage backend, call `Ambient_context.set_current_storage` (e.g.
`Ambient_context.set_current_storage Ambient_context_lwt.storage`). `Ambient_context.set_current_storage Ambient_context_lwt.storage`).
- move to ezcurl 0.3
- add a `hmap` in Scope.t
## 0.12 ## 0.12

View file

@ -5,11 +5,11 @@
(generate_opam_files true) (generate_opam_files true)
(source (source
(github imandra-ai/ocaml-opentelemetry)) (github ocaml-tracing/ocaml-opentelemetry))
(version 0.12) (version 0.12)
(authors "the Imandra team and contributors") (authors "the Imandra team" "ocaml-tracing contributors")
(maintainers (maintainers
"Simon Cruanes <simon.cruanes.2007@m4x.org>" "Simon Cruanes <simon.cruanes.2007@m4x.org>"
@ -33,6 +33,8 @@
(and (and
(>= 0.2) (>= 0.2)
(< 0.3))) (< 0.3)))
(mtime
(>= "2.0"))
(odoc :with-doc) (odoc :with-doc)
(alcotest :with-test) (alcotest :with-test)
(pbrt (pbrt
@ -102,6 +104,19 @@
(opentelemetry (opentelemetry
(= :version)) (= :version))
(odoc :with-doc) (odoc :with-doc)
(containers
(and
(>= 3.12)
:with-test))
(cohttp-lwt-unix :with-test)
(opentelemetry-client-cohttp-lwt
(and
(= :version)
:with-test))
(opentelemetry-cohttp-lwt
(and
(= :version)
:with-test))
(logs (logs
(>= "0.7.0")) (>= "0.7.0"))
(alcotest :with-test)) (alcotest :with-test))
@ -135,6 +150,8 @@
(opentelemetry (opentelemetry
(= :version)) (= :version))
(odoc :with-doc) (odoc :with-doc)
(opentelemetry-lwt
(= :version))
(lwt (lwt
(>= "5.3")) (>= "5.3"))
(lwt_ppx (lwt_ppx
@ -162,6 +179,11 @@
(>= 6.1.0)) (>= 6.1.0))
(eio_main :with-test) (eio_main :with-test)
tls-eio tls-eio
(cohttp-lwt-unix :with-test)
(lwt_ppx
(and
(>= 2.0)
:with-test))
(alcotest :with-test) (alcotest :with-test)
(containers :with-test)) (containers :with-test))
(synopsis "Collector client for opentelemetry, using cohttp + eio")) (synopsis "Collector client for opentelemetry, using cohttp + eio"))

View file

@ -7,10 +7,10 @@ maintainer: [
"Matt Bray <mattjbray@gmail.com>" "Matt Bray <mattjbray@gmail.com>"
"ELLIOTTCABLE <opam@ell.io>" "ELLIOTTCABLE <opam@ell.io>"
] ]
authors: ["the Imandra team and contributors"] authors: ["the Imandra team" "ocaml-tracing contributors"]
license: "MIT" license: "MIT"
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry" homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues" bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
depends: [ depends: [
"dune" {>= "2.9"} "dune" {>= "2.9"}
"ocaml" {>= "5.00"} "ocaml" {>= "5.00"}
@ -22,6 +22,8 @@ depends: [
"cohttp-eio" {>= "6.1.0"} "cohttp-eio" {>= "6.1.0"}
"eio_main" {with-test} "eio_main" {with-test}
"tls-eio" "tls-eio"
"cohttp-lwt-unix" {with-test}
"lwt_ppx" {>= "2.0" & with-test}
"alcotest" {with-test} "alcotest" {with-test}
"containers" {with-test} "containers" {with-test}
] ]
@ -41,4 +43,4 @@ build: [
] ]
["dune" "install" "-p" name "--create-install-files" name] ["dune" "install" "-p" name "--create-install-files" name]
] ]
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git" dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"

View file

@ -7,16 +7,17 @@ maintainer: [
"Matt Bray <mattjbray@gmail.com>" "Matt Bray <mattjbray@gmail.com>"
"ELLIOTTCABLE <opam@ell.io>" "ELLIOTTCABLE <opam@ell.io>"
] ]
authors: ["the Imandra team and contributors"] authors: ["the Imandra team" "ocaml-tracing contributors"]
license: "MIT" license: "MIT"
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry" homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues" bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
depends: [ depends: [
"dune" {>= "2.9"} "dune" {>= "2.9"}
"ocaml" {>= "4.08"} "ocaml" {>= "4.08"}
"mtime" {>= "1.4"} "mtime" {>= "1.4"}
"opentelemetry" {= version} "opentelemetry" {= version}
"odoc" {with-doc} "odoc" {with-doc}
"opentelemetry-lwt" {= version}
"lwt" {>= "5.3"} "lwt" {>= "5.3"}
"lwt_ppx" {>= "2.0"} "lwt_ppx" {>= "2.0"}
"cohttp-lwt" {>= "6.0"} "cohttp-lwt" {>= "6.0"}
@ -40,4 +41,4 @@ build: [
] ]
["dune" "install" "-p" name "--create-install-files" name] ["dune" "install" "-p" name "--create-install-files" name]
] ]
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git" dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"

View file

@ -7,10 +7,10 @@ maintainer: [
"Matt Bray <mattjbray@gmail.com>" "Matt Bray <mattjbray@gmail.com>"
"ELLIOTTCABLE <opam@ell.io>" "ELLIOTTCABLE <opam@ell.io>"
] ]
authors: ["the Imandra team and contributors"] authors: ["the Imandra team" "ocaml-tracing contributors"]
license: "MIT" license: "MIT"
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry" homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues" bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
depends: [ depends: [
"dune" {>= "2.9"} "dune" {>= "2.9"}
"ocaml" {>= "4.08"} "ocaml" {>= "4.08"}
@ -37,4 +37,4 @@ build: [
] ]
["dune" "install" "-p" name "--create-install-files" name] ["dune" "install" "-p" name "--create-install-files" name]
] ]
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git" dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"

View file

@ -7,10 +7,10 @@ maintainer: [
"Matt Bray <mattjbray@gmail.com>" "Matt Bray <mattjbray@gmail.com>"
"ELLIOTTCABLE <opam@ell.io>" "ELLIOTTCABLE <opam@ell.io>"
] ]
authors: ["the Imandra team and contributors"] authors: ["the Imandra team" "ocaml-tracing contributors"]
license: "MIT" license: "MIT"
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry" homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues" bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
depends: [ depends: [
"dune" {>= "2.9"} "dune" {>= "2.9"}
"ocaml" {>= "4.08"} "ocaml" {>= "4.08"}
@ -37,4 +37,4 @@ build: [
] ]
["dune" "install" "-p" name "--create-install-files" name] ["dune" "install" "-p" name "--create-install-files" name]
] ]
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git" dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"

View file

@ -7,15 +7,19 @@ maintainer: [
"Matt Bray <mattjbray@gmail.com>" "Matt Bray <mattjbray@gmail.com>"
"ELLIOTTCABLE <opam@ell.io>" "ELLIOTTCABLE <opam@ell.io>"
] ]
authors: ["the Imandra team and contributors"] authors: ["the Imandra team" "ocaml-tracing contributors"]
license: "MIT" license: "MIT"
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry" homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues" bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
depends: [ depends: [
"dune" {>= "2.9"} "dune" {>= "2.9"}
"ocaml" {>= "4.08"} "ocaml" {>= "4.08"}
"opentelemetry" {= version} "opentelemetry" {= version}
"odoc" {with-doc} "odoc" {with-doc}
"containers" {>= "3.12" & with-test}
"cohttp-lwt-unix" {with-test}
"opentelemetry-client-cohttp-lwt" {= version & with-test}
"opentelemetry-cohttp-lwt" {= version & with-test}
"logs" {>= "0.7.0"} "logs" {>= "0.7.0"}
"alcotest" {with-test} "alcotest" {with-test}
] ]
@ -35,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/imandra-ai/ocaml-opentelemetry.git" dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"

View file

@ -7,11 +7,11 @@ maintainer: [
"Matt Bray <mattjbray@gmail.com>" "Matt Bray <mattjbray@gmail.com>"
"ELLIOTTCABLE <opam@ell.io>" "ELLIOTTCABLE <opam@ell.io>"
] ]
authors: ["the Imandra team and contributors"] authors: ["the Imandra team" "ocaml-tracing contributors"]
license: "MIT" license: "MIT"
tags: ["instrumentation" "tracing" "opentelemetry" "datadog" "lwt"] tags: ["instrumentation" "tracing" "opentelemetry" "datadog" "lwt"]
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry" homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues" bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
depends: [ depends: [
"dune" {>= "2.9"} "dune" {>= "2.9"}
"ocaml" {>= "4.08"} "ocaml" {>= "4.08"}
@ -38,4 +38,4 @@ build: [
] ]
["dune" "install" "-p" name "--create-install-files" name] ["dune" "install" "-p" name "--create-install-files" name]
] ]
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git" dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"

View file

@ -7,11 +7,11 @@ maintainer: [
"Matt Bray <mattjbray@gmail.com>" "Matt Bray <mattjbray@gmail.com>"
"ELLIOTTCABLE <opam@ell.io>" "ELLIOTTCABLE <opam@ell.io>"
] ]
authors: ["the Imandra team and contributors"] authors: ["the Imandra team" "ocaml-tracing contributors"]
license: "MIT" license: "MIT"
tags: ["instrumentation" "tracing" "opentelemetry" "datadog" "jaeger"] tags: ["instrumentation" "tracing" "opentelemetry" "datadog" "jaeger"]
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry" homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues" bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
depends: [ depends: [
"dune" {>= "2.9"} "dune" {>= "2.9"}
"ocaml" {>= "4.08"} "ocaml" {>= "4.08"}
@ -19,6 +19,7 @@ depends: [
"hmap" "hmap"
"atomic" "atomic"
"thread-local-storage" {>= "0.2" & < "0.3"} "thread-local-storage" {>= "0.2" & < "0.3"}
"mtime" {>= "2.0"}
"odoc" {with-doc} "odoc" {with-doc}
"alcotest" {with-test} "alcotest" {with-test}
"pbrt" {>= "3.0" & < "4.0"} "pbrt" {>= "3.0" & < "4.0"}
@ -46,4 +47,4 @@ build: [
] ]
["dune" "install" "-p" name "--create-install-files" name] ["dune" "install" "-p" name "--create-install-files" name]
] ]
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git" dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"

View file

@ -33,7 +33,7 @@
(package opentelemetry-client-cohttp-lwt) (package opentelemetry-client-cohttp-lwt)
(enabled_if (enabled_if
(>= %{ocaml_version} 5.0)) (>= %{ocaml_version} 5.0))
(deps %{bin:emit1_cohttp} %{bin:emit1_eio}) (deps %{bin:emit1_cohttp})
(libraries clients_e2e_lib alcotest opentelemetry opentelemetry.client)) (libraries clients_e2e_lib alcotest opentelemetry opentelemetry.client))
(tests (tests