-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into debugging-backend
* upstream/master: (40 commits) chore: add upper bound on pbrt fix: regenerate code with a non-pinned ocaml-protoc debug git diff chore: use protoc 2.4 in CI format ocamlformat add missing proto directory refactor tests to avoid circular dependencies no open move protobuf code to opentelemetry.proto trace-collector: Use Trace_core instead of Trace for OCaml v5 tests: Add every test-dep to every package chore: Prepare for v0.6 chore: Add myself to maintainers chore: update CHANGES dune fmt trace-collector: Pass user-data to OTel metrics deps: Update ocaml-trace dep to 0.4 trace-collector: Support for floats, etc from trace (- fix) Use new TLS-module naming from ac.0.1.0 ...
- Loading branch information
Showing
93 changed files
with
781 additions
and
389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
(env | ||
(_ | ||
(flags :standard -warn-error -a+8 -w +a-4-30-40-41-42-44-48-70 -strict-sequence))) | ||
(flags :standard -warn-error -a+8 -w +a-4-30-40-41-42-44-48-70 | ||
-strict-sequence))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,126 @@ | ||
(lang dune 2.7) | ||
|
||
(name opentelemetry) | ||
|
||
(generate_opam_files true) | ||
|
||
(source | ||
(github imandra-ai/ocaml-opentelemetry)) | ||
|
||
(version 0.5) | ||
(version 0.6) | ||
|
||
(authors "the Imandra team and contributors") | ||
(maintainers "the Imandra team and contributors") | ||
|
||
(maintainers | ||
"Simon Cruanes <[email protected]>" | ||
"Matt Bray <[email protected]>" | ||
"ELLIOTTCABLE <[email protected]>") | ||
|
||
(license MIT) | ||
|
||
;(documentation https://url/to/documentation) | ||
|
||
(package | ||
(name opentelemetry) | ||
(synopsis "Instrumentation for https://opentelemetry.io") | ||
(depends | ||
(ocaml (>= "4.08")) | ||
ptime | ||
(odoc :with-doc) | ||
(pbrt (>= 2.3))) | ||
(depopts | ||
(trace (>= 0.1))) | ||
(ocaml | ||
(>= "4.08")) | ||
ptime | ||
ambient-context | ||
(odoc :with-doc) | ||
(alcotest :with-test) | ||
(pbrt | ||
(and (>= 2.3) (< 3.0))) | ||
(ocaml-lsp-server :with-dev-setup) | ||
(ocamlformat | ||
(and | ||
:with-dev-setup | ||
(>= 0.24) | ||
(< 0.25)))) | ||
(depopts trace) | ||
(conflicts | ||
(trace | ||
(or | ||
(< 0.4) | ||
(>= 0.5)))) | ||
(tags | ||
(instrumentation tracing opentelemetry datadog jaeger))) | ||
|
||
(package | ||
(name opentelemetry-lwt) | ||
(synopsis "Lwt-compatible instrumentation for https://opentelemetry.io") | ||
(depends | ||
(ocaml (>= "4.08")) | ||
(opentelemetry (= :version)) | ||
(cohttp-lwt-unix :with-test) | ||
(odoc :with-doc) | ||
(lwt (>= "5.3")) | ||
(lwt_ppx (>= "2.0"))) | ||
(ocaml | ||
(>= "4.08")) | ||
ambient-context | ||
(opentelemetry | ||
(= :version)) | ||
(cohttp-lwt-unix :with-test) | ||
(odoc :with-doc) | ||
(lwt | ||
(>= "5.3")) | ||
(lwt_ppx | ||
(>= "2.0")) | ||
(alcotest :with-test)) | ||
(tags | ||
(instrumentation tracing opentelemetry datadog lwt))) | ||
|
||
(package | ||
(name opentelemetry-client-ocurl) | ||
(depends | ||
(ocaml (>= "4.08")) | ||
(mtime (>= "1.4")) ; for spans | ||
; atomic ; vendored | ||
(opentelemetry (= :version)) | ||
(pbrt (>= 2.3)) | ||
(odoc :with-doc) | ||
(ezcurl (>= 0.2.3)) | ||
ocurl) | ||
(synopsis "Collector client for opentelemetry, using http + ezcurl")) | ||
(name opentelemetry-client-ocurl) | ||
(depends | ||
(ocaml | ||
(>= "4.08")) | ||
(mtime | ||
(>= "1.4")) | ||
; for spans | ||
; atomic ; vendored | ||
(opentelemetry | ||
(= :version)) | ||
(pbrt | ||
(and (>= 2.3) (< 3.0))) | ||
(odoc :with-doc) | ||
(ezcurl | ||
(>= 0.2.3)) | ||
ocurl | ||
(alcotest :with-test)) | ||
(synopsis "Collector client for opentelemetry, using http + ezcurl")) | ||
|
||
(package | ||
(name opentelemetry-cohttp-lwt) | ||
(depends | ||
(ocaml (>= "4.08")) | ||
(opentelemetry (= :version)) | ||
(opentelemetry-lwt (= :version)) | ||
(ocaml | ||
(>= "4.08")) | ||
(opentelemetry | ||
(= :version)) | ||
(opentelemetry-lwt | ||
(= :version)) | ||
(odoc :with-doc) | ||
(lwt (>= "5.3")) | ||
(cohttp-lwt (>= "4.0.0"))) | ||
(lwt | ||
(>= "5.3")) | ||
(cohttp-lwt | ||
(>= "4.0.0")) | ||
(alcotest :with-test)) | ||
(synopsis "Opentelemetry tracing for Cohttp HTTP servers")) | ||
|
||
(package | ||
(name opentelemetry-client-cohttp-lwt) | ||
(depends | ||
(ocaml (>= "4.08")) | ||
(mtime (>= "1.4")) ; for spans | ||
(opentelemetry (= :version)) | ||
(pbrt (>= 2.2)) | ||
(odoc :with-doc) | ||
(lwt (>= "5.3")) | ||
(lwt_ppx (>= "2.0")) | ||
cohttp-lwt | ||
cohttp-lwt-unix) | ||
(synopsis "Collector client for opentelemetry, using cohttp + lwt")) | ||
(name opentelemetry-client-cohttp-lwt) | ||
(depends | ||
(ocaml | ||
(>= "4.08")) | ||
(mtime | ||
(>= "1.4")) | ||
; for spans | ||
(opentelemetry | ||
(= :version)) | ||
(pbrt | ||
(and (>= 2.2) (< 3.0))) | ||
(odoc :with-doc) | ||
(lwt | ||
(>= "5.3")) | ||
(lwt_ppx | ||
(>= "2.0")) | ||
cohttp-lwt | ||
cohttp-lwt-unix | ||
(alcotest :with-test)) | ||
(synopsis "Collector client for opentelemetry, using cohttp + lwt")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
version: "0.5" | ||
version: "0.6" | ||
synopsis: "Collector client for opentelemetry, using cohttp + lwt" | ||
maintainer: ["the Imandra team and contributors"] | ||
maintainer: [ | ||
"Simon Cruanes <[email protected]>" | ||
"Matt Bray <[email protected]>" | ||
"ELLIOTTCABLE <[email protected]>" | ||
] | ||
authors: ["the Imandra team and contributors"] | ||
license: "MIT" | ||
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry" | ||
|
@@ -12,12 +16,13 @@ depends: [ | |
"ocaml" {>= "4.08"} | ||
"mtime" {>= "1.4"} | ||
"opentelemetry" {= version} | ||
"pbrt" {>= "2.2"} | ||
"pbrt" {>= "2.2" & < "3.0"} | ||
"odoc" {with-doc} | ||
"lwt" {>= "5.3"} | ||
"lwt_ppx" {>= "2.0"} | ||
"cohttp-lwt" | ||
"cohttp-lwt-unix" | ||
"alcotest" {with-test} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
version: "0.5" | ||
version: "0.6" | ||
synopsis: "Collector client for opentelemetry, using http + ezcurl" | ||
maintainer: ["the Imandra team and contributors"] | ||
maintainer: [ | ||
"Simon Cruanes <[email protected]>" | ||
"Matt Bray <[email protected]>" | ||
"ELLIOTTCABLE <[email protected]>" | ||
] | ||
authors: ["the Imandra team and contributors"] | ||
license: "MIT" | ||
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry" | ||
|
@@ -12,10 +16,11 @@ depends: [ | |
"ocaml" {>= "4.08"} | ||
"mtime" {>= "1.4"} | ||
"opentelemetry" {= version} | ||
"pbrt" {>= "2.3"} | ||
"pbrt" {>= "2.3" & < "3.0"} | ||
"odoc" {with-doc} | ||
"ezcurl" {>= "0.2.3"} | ||
"ocurl" | ||
"alcotest" {with-test} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
version: "0.5" | ||
version: "0.6" | ||
synopsis: "Opentelemetry tracing for Cohttp HTTP servers" | ||
maintainer: ["the Imandra team and contributors"] | ||
maintainer: [ | ||
"Simon Cruanes <[email protected]>" | ||
"Matt Bray <[email protected]>" | ||
"ELLIOTTCABLE <[email protected]>" | ||
] | ||
authors: ["the Imandra team and contributors"] | ||
license: "MIT" | ||
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry" | ||
|
@@ -15,6 +19,7 @@ depends: [ | |
"odoc" {with-doc} | ||
"lwt" {>= "5.3"} | ||
"cohttp-lwt" {>= "4.0.0"} | ||
"alcotest" {with-test} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
version: "0.5" | ||
version: "0.6" | ||
synopsis: "Lwt-compatible instrumentation for https://opentelemetry.io" | ||
maintainer: ["the Imandra team and contributors"] | ||
maintainer: [ | ||
"Simon Cruanes <[email protected]>" | ||
"Matt Bray <[email protected]>" | ||
"ELLIOTTCABLE <[email protected]>" | ||
] | ||
authors: ["the Imandra team and contributors"] | ||
license: "MIT" | ||
tags: ["instrumentation" "tracing" "opentelemetry" "datadog" "lwt"] | ||
|
@@ -11,11 +15,13 @@ bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues" | |
depends: [ | ||
"dune" {>= "2.7"} | ||
"ocaml" {>= "4.08"} | ||
"ambient-context" | ||
"opentelemetry" {= version} | ||
"cohttp-lwt-unix" {with-test} | ||
"odoc" {with-doc} | ||
"lwt" {>= "5.3"} | ||
"lwt_ppx" {>= "2.0"} | ||
"alcotest" {with-test} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
|
Oops, something went wrong.