Skip to content

Commit cff226e

Browse files
c-cubeshonfeder
andauthored
[new release] opentelemetry (7 packages) (0.12) (#28469)
* [new release] opentelemetry (7 packages) (0.12) CHANGES: - breaking: change `Collector.cleanup` so it takes a callback - feat: add Eio collector - feat: add Logs integration - Specify and document the Signal_gatherer API - feat: add `Globals.service_version` - add `pp` implemtation for `Client_ocurl.Config` - feat: adapt to trace 0.10 - fix concurrency issues, make the libraries thread safe - add many tests - fix: opentelemetry exception attr spec - Add tests for Opentelemetry.Client.Config - large refactorings to factor out batching logic out of cohttp-lwt client, also encoding logic. The code for collectors is now much cleaner. --------- Co-authored-by: Shon Feder <[email protected]>
1 parent 8f1686c commit cff226e

File tree

7 files changed

+353
-0
lines changed
  • packages
    • opentelemetry-client-cohttp-eio/opentelemetry-client-cohttp-eio.0.12
    • opentelemetry-client-cohttp-lwt/opentelemetry-client-cohttp-lwt.0.12
    • opentelemetry-client-ocurl/opentelemetry-client-ocurl.0.12
    • opentelemetry-cohttp-lwt/opentelemetry-cohttp-lwt.0.12
    • opentelemetry-logs/opentelemetry-logs.0.12
    • opentelemetry-lwt/opentelemetry-lwt.0.12
    • opentelemetry/opentelemetry.0.12

7 files changed

+353
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
opam-version: "2.0"
2+
synopsis: "Collector client for opentelemetry, using cohttp + eio"
3+
maintainer: [
4+
"Simon Cruanes <[email protected]>"
5+
"Matt Bray <[email protected]>"
6+
"ELLIOTTCABLE <[email protected]>"
7+
]
8+
authors: ["the Imandra team and contributors"]
9+
license: "MIT"
10+
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
11+
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
12+
depends: [
13+
"dune" {>= "2.9"}
14+
"ocaml" {>= "5.00"}
15+
"mtime" {>= "1.4"}
16+
"ca-certs"
17+
"mirage-crypto-rng-eio"
18+
"opentelemetry" {= version}
19+
"odoc" {with-doc}
20+
"cohttp-eio" {>= "6.1.0"}
21+
"eio_main" {with-test}
22+
"tls-eio" {>= "2.0.1"}
23+
"alcotest" {with-test}
24+
"containers" {with-test}
25+
"cohttp-lwt-unix" {with-test}
26+
"lwt_ppx" {with-test & >= "2.0"}
27+
]
28+
build: [
29+
["dune" "subst"] {dev}
30+
[
31+
"dune"
32+
"build"
33+
"-p"
34+
name
35+
"-j"
36+
jobs
37+
"--promote-install-files=false"
38+
"@install"
39+
"@runtest" {with-test}
40+
"@doc" {with-doc}
41+
]
42+
["dune" "install" "-p" name "--create-install-files" name]
43+
]
44+
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
45+
url {
46+
src:
47+
"https://github.com/imandra-ai/ocaml-opentelemetry/releases/download/v0.12/opentelemetry-0.12.tbz"
48+
checksum: [
49+
"sha256=ca92e7395495f73b46316607c514ce0dbe5fab129dddd9a17b353f835dcbf77d"
50+
"sha512=ea2afd07c8db955364681f90388959db97d7b7f5b0836bc4045eca929968d6d77905e3aa66802226c0791c2552d0e281bdf2dbfe7ed90e9877ce3cedc343823f"
51+
]
52+
}
53+
x-commit-hash: "98a364b046ccae5bf48772703011d94d499961d1"
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
opam-version: "2.0"
2+
synopsis: "Collector client for opentelemetry, using cohttp + lwt"
3+
maintainer: [
4+
"Simon Cruanes <[email protected]>"
5+
"Matt Bray <[email protected]>"
6+
"ELLIOTTCABLE <[email protected]>"
7+
]
8+
authors: ["the Imandra team and contributors"]
9+
license: "MIT"
10+
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
11+
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
12+
depends: [
13+
"dune" {>= "2.9"}
14+
"ocaml" {>= "4.08"}
15+
"mtime" {>= "1.4"}
16+
"opentelemetry" {= version}
17+
"odoc" {with-doc}
18+
"lwt" {>= "5.3"}
19+
"lwt_ppx" {>= "2.0"}
20+
"cohttp-lwt"
21+
"cohttp-lwt-unix"
22+
"alcotest" {with-test}
23+
"containers" {with-test}
24+
"opentelemetry-lwt" {with-test & = version}
25+
"opentelemetry-client-cohttp-eio" {with-test & = version} # not actually used in tests
26+
"eio_main" {with-test} # not actually used in tests
27+
]
28+
build: [
29+
["dune" "subst"] {dev}
30+
[
31+
"dune"
32+
"build"
33+
"-p"
34+
name
35+
"-j"
36+
jobs
37+
"--promote-install-files=false"
38+
"@install"
39+
"@runtest" {with-test}
40+
"@doc" {with-doc}
41+
]
42+
["dune" "install" "-p" name "--create-install-files" name]
43+
]
44+
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
45+
url {
46+
src:
47+
"https://github.com/imandra-ai/ocaml-opentelemetry/releases/download/v0.12/opentelemetry-0.12.tbz"
48+
checksum: [
49+
"sha256=ca92e7395495f73b46316607c514ce0dbe5fab129dddd9a17b353f835dcbf77d"
50+
"sha512=ea2afd07c8db955364681f90388959db97d7b7f5b0836bc4045eca929968d6d77905e3aa66802226c0791c2552d0e281bdf2dbfe7ed90e9877ce3cedc343823f"
51+
]
52+
}
53+
x-commit-hash: "98a364b046ccae5bf48772703011d94d499961d1"
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
opam-version: "2.0"
2+
synopsis: "Collector client for opentelemetry, using http + ezcurl"
3+
maintainer: [
4+
"Simon Cruanes <[email protected]>"
5+
"Matt Bray <[email protected]>"
6+
"ELLIOTTCABLE <[email protected]>"
7+
]
8+
authors: ["the Imandra team and contributors"]
9+
license: "MIT"
10+
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
11+
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
12+
depends: [
13+
"dune" {>= "2.9"}
14+
"ocaml" {>= "4.08"}
15+
"mtime" {>= "1.4"}
16+
"opentelemetry" {= version}
17+
"odoc" {with-doc}
18+
"ezcurl" {>= "0.2.3"}
19+
"ocurl"
20+
"alcotest" {with-test}
21+
]
22+
build: [
23+
["dune" "subst"] {dev}
24+
[
25+
"dune"
26+
"build"
27+
"-p"
28+
name
29+
"-j"
30+
jobs
31+
"--promote-install-files=false"
32+
"@install"
33+
"@runtest" {with-test}
34+
"@doc" {with-doc}
35+
]
36+
["dune" "install" "-p" name "--create-install-files" name]
37+
]
38+
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
39+
url {
40+
src:
41+
"https://github.com/imandra-ai/ocaml-opentelemetry/releases/download/v0.12/opentelemetry-0.12.tbz"
42+
checksum: [
43+
"sha256=ca92e7395495f73b46316607c514ce0dbe5fab129dddd9a17b353f835dcbf77d"
44+
"sha512=ea2afd07c8db955364681f90388959db97d7b7f5b0836bc4045eca929968d6d77905e3aa66802226c0791c2552d0e281bdf2dbfe7ed90e9877ce3cedc343823f"
45+
]
46+
}
47+
x-commit-hash: "98a364b046ccae5bf48772703011d94d499961d1"
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
opam-version: "2.0"
2+
synopsis: "Opentelemetry tracing for Cohttp HTTP servers"
3+
maintainer: [
4+
"Simon Cruanes <[email protected]>"
5+
"Matt Bray <[email protected]>"
6+
"ELLIOTTCABLE <[email protected]>"
7+
]
8+
authors: ["the Imandra team and contributors"]
9+
license: "MIT"
10+
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
11+
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
12+
depends: [
13+
"dune" {>= "2.9"}
14+
"ocaml" {>= "4.08"}
15+
"opentelemetry" {= version}
16+
"opentelemetry-lwt" {= version}
17+
"odoc" {with-doc}
18+
"lwt" {>= "5.3"}
19+
"cohttp-lwt" {>= "6.0.0"}
20+
"alcotest" {with-test}
21+
]
22+
build: [
23+
["dune" "subst"] {dev}
24+
[
25+
"dune"
26+
"build"
27+
"-p"
28+
name
29+
"-j"
30+
jobs
31+
"--promote-install-files=false"
32+
"@install"
33+
"@runtest" {with-test}
34+
"@doc" {with-doc}
35+
]
36+
["dune" "install" "-p" name "--create-install-files" name]
37+
]
38+
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
39+
url {
40+
src:
41+
"https://github.com/imandra-ai/ocaml-opentelemetry/releases/download/v0.12/opentelemetry-0.12.tbz"
42+
checksum: [
43+
"sha256=ca92e7395495f73b46316607c514ce0dbe5fab129dddd9a17b353f835dcbf77d"
44+
"sha512=ea2afd07c8db955364681f90388959db97d7b7f5b0836bc4045eca929968d6d77905e3aa66802226c0791c2552d0e281bdf2dbfe7ed90e9877ce3cedc343823f"
45+
]
46+
}
47+
x-commit-hash: "98a364b046ccae5bf48772703011d94d499961d1"
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
opam-version: "2.0"
2+
synopsis: "Opentelemetry tracing for Cohttp HTTP servers"
3+
maintainer: [
4+
"Simon Cruanes <[email protected]>"
5+
"Matt Bray <[email protected]>"
6+
"ELLIOTTCABLE <[email protected]>"
7+
]
8+
authors: ["the Imandra team and contributors"]
9+
license: "MIT"
10+
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
11+
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
12+
depends: [
13+
"dune" {>= "2.9"}
14+
"ocaml" {>= "4.08"}
15+
"opentelemetry" {= version}
16+
"odoc" {with-doc}
17+
"logs" {>= "0.7.0"}
18+
"alcotest" {with-test}
19+
"containers" {with-test}
20+
"cohttp-lwt-unix" {with-test}
21+
"opentelemetry-client-cohttp-lwt" {with-test & = version}
22+
"opentelemetry-cohttp-lwt" {with-test & = version}
23+
]
24+
build: [
25+
["dune" "subst"] {dev}
26+
[
27+
"dune"
28+
"build"
29+
"-p"
30+
name
31+
"-j"
32+
jobs
33+
"--promote-install-files=false"
34+
"@install"
35+
"@runtest" {with-test}
36+
"@doc" {with-doc}
37+
]
38+
["dune" "install" "-p" name "--create-install-files" name]
39+
]
40+
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
41+
url {
42+
src:
43+
"https://github.com/imandra-ai/ocaml-opentelemetry/releases/download/v0.12/opentelemetry-0.12.tbz"
44+
checksum: [
45+
"sha256=ca92e7395495f73b46316607c514ce0dbe5fab129dddd9a17b353f835dcbf77d"
46+
"sha512=ea2afd07c8db955364681f90388959db97d7b7f5b0836bc4045eca929968d6d77905e3aa66802226c0791c2552d0e281bdf2dbfe7ed90e9877ce3cedc343823f"
47+
]
48+
}
49+
x-commit-hash: "98a364b046ccae5bf48772703011d94d499961d1"
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
opam-version: "2.0"
2+
synopsis: "Lwt-compatible instrumentation for https://opentelemetry.io"
3+
maintainer: [
4+
"Simon Cruanes <[email protected]>"
5+
"Matt Bray <[email protected]>"
6+
"ELLIOTTCABLE <[email protected]>"
7+
]
8+
authors: ["the Imandra team and contributors"]
9+
license: "MIT"
10+
tags: ["instrumentation" "tracing" "opentelemetry" "datadog" "lwt"]
11+
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
12+
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
13+
depends: [
14+
"dune" {>= "2.9"}
15+
"ocaml" {>= "4.08"}
16+
"opentelemetry" {= version}
17+
"cohttp-lwt-unix" {with-test}
18+
"odoc" {with-doc}
19+
"lwt" {>= "5.3"}
20+
"lwt_ppx" {>= "2.0"}
21+
"alcotest" {with-test}
22+
]
23+
build: [
24+
["dune" "subst"] {dev}
25+
[
26+
"dune"
27+
"build"
28+
"-p"
29+
name
30+
"-j"
31+
jobs
32+
"--promote-install-files=false"
33+
"@install"
34+
"@runtest" {with-test}
35+
"@doc" {with-doc}
36+
]
37+
["dune" "install" "-p" name "--create-install-files" name]
38+
]
39+
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
40+
url {
41+
src:
42+
"https://github.com/imandra-ai/ocaml-opentelemetry/releases/download/v0.12/opentelemetry-0.12.tbz"
43+
checksum: [
44+
"sha256=ca92e7395495f73b46316607c514ce0dbe5fab129dddd9a17b353f835dcbf77d"
45+
"sha512=ea2afd07c8db955364681f90388959db97d7b7f5b0836bc4045eca929968d6d77905e3aa66802226c0791c2552d0e281bdf2dbfe7ed90e9877ce3cedc343823f"
46+
]
47+
}
48+
x-commit-hash: "98a364b046ccae5bf48772703011d94d499961d1"
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
opam-version: "2.0"
2+
synopsis: "Instrumentation for https://opentelemetry.io"
3+
maintainer: [
4+
"Simon Cruanes <[email protected]>"
5+
"Matt Bray <[email protected]>"
6+
"ELLIOTTCABLE <[email protected]>"
7+
]
8+
authors: ["the Imandra team and contributors"]
9+
license: "MIT"
10+
tags: ["instrumentation" "tracing" "opentelemetry" "datadog" "jaeger"]
11+
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
12+
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
13+
depends: [
14+
"dune" {>= "2.9"}
15+
"ocaml" {>= "4.08"}
16+
"ptime"
17+
"hmap"
18+
"atomic"
19+
"thread-local-storage" {>= "0.2" & < "0.3"}
20+
"odoc" {with-doc}
21+
"alcotest" {with-test}
22+
"pbrt" {>= "3.0" & < "4.0"}
23+
"ocaml-lsp-server" {with-dev-setup}
24+
"ocamlformat" {with-dev-setup & >= "0.27" & < "0.28"}
25+
"mtime" {>= "1.4"}
26+
]
27+
depopts: ["trace" "lwt" "eio"]
28+
conflicts: [
29+
"trace" {< "0.10"}
30+
]
31+
build: [
32+
["dune" "subst"] {dev}
33+
[
34+
"dune"
35+
"build"
36+
"-p"
37+
name
38+
"-j"
39+
jobs
40+
"--promote-install-files=false"
41+
"@install"
42+
"@runtest" {with-test}
43+
"@doc" {with-doc}
44+
]
45+
["dune" "install" "-p" name "--create-install-files" name]
46+
]
47+
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
48+
url {
49+
src:
50+
"https://github.com/imandra-ai/ocaml-opentelemetry/releases/download/v0.12/opentelemetry-0.12.tbz"
51+
checksum: [
52+
"sha256=ca92e7395495f73b46316607c514ce0dbe5fab129dddd9a17b353f835dcbf77d"
53+
"sha512=ea2afd07c8db955364681f90388959db97d7b7f5b0836bc4045eca929968d6d77905e3aa66802226c0791c2552d0e281bdf2dbfe7ed90e9877ce3cedc343823f"
54+
]
55+
}
56+
x-commit-hash: "98a364b046ccae5bf48772703011d94d499961d1"

0 commit comments

Comments
 (0)