Commit graph

457 commits

Author SHA1 Message Date
Simon Cruanes
8e1a69d886
enable warnings and fix them 2023-06-15 22:18:20 -04:00
Elliott Cable
9e6c0ee433 (dep fix) Add dependencies for lwt_ppx 2023-06-13 22:56:09 +00:00
Elliott Cable
3e46458499 (style lwt ppx dep) Use try%lwt over Lwt.catch 2023-06-13 22:50:52 +00:00
Simon Cruanes
de0d5ea197
doc 2023-06-12 16:46:31 -04:00
Simon Cruanes
d8b8432ce0
doc 2023-06-12 16:24:32 -04:00
Simon Cruanes
9b2d6fb1e0
opam 2023-06-12 10:07:43 -04:00
Simon Cruanes
1ff96737db
fix for trace 0.1 2023-06-12 10:06:25 -04:00
Simon Cruanes
92dfa4c2f8
add opentelemetry.trace
optional interface with the trace library
2023-06-09 19:08:40 -04:00
Simon Cruanes
4e15bedfee
otel: internal helper 2023-06-09 19:08:21 -04:00
Simon Cruanes
dba8528aeb
thread-local: expose set/remove 2023-06-09 19:08:11 -04:00
Simon Cruanes
c9d22309d0
thread-local: add get_or_create 2023-06-09 17:56:35 -04:00
Simon Cruanes
04eafb04b1
TLS: some documentation 2023-06-09 17:42:36 -04:00
Simon Cruanes
986057b99c
readme 2023-06-09 15:52:20 -04:00
Simon Cruanes
a89b2c5ca3
chore: fix repo name 2023-06-09 15:49:56 -04:00
Simon Cruanes
d81d7b653f
detail 2023-03-09 10:47:15 -05:00
Simon Cruanes
7310b5c9d3
prepare for 0.4 2023-03-06 15:09:43 -05:00
Simon Cruanes
ed8ef6a9fb
update changelog 2023-03-06 15:09:43 -05:00
Simon Cruanes
bc3ecbc30c
gc metrics every 20s 2022-11-30 17:08:08 -05:00
Simon Cruanes
dbd08b7e0a
timeout-based GC metrics collection 2022-11-30 17:05:22 -05:00
Simon Cruanes
2f1410cc1a
use mode=fallback in dune 2022-11-23 10:04:47 -05:00
Simon Cruanes
f436a1b109
fix(cohttp-lwt-client): do not override config url 2022-11-09 11:53:14 -05:00
Matt Bray
9239dbe934
Merge pull request #29 from anuragsoni/update-header-parsing
Allow spaces in header values set via `OTEL_EXPORTER_OTLP_HEADERS`
2022-11-05 10:02:36 +00:00
Anurag Soni
7973cee9c0 Allow spaces in header values 2022-11-04 22:43:42 -04:00
Simon Cruanes
812b3769c2
clarify license 2022-10-26 09:53:38 -04:00
Simon Cruanes
50e7414f12
chore: try to fix github page 2022-10-26 09:52:16 -04:00
Simon Cruanes
8a52da6446
Merge pull request #28 from imandra-ai/wip-cohttp-lwt-client
cohttp lwt client
2022-10-03 13:08:48 -04:00
Simon Cruanes
e5621cdd81
fix warning 2022-10-03 13:08:51 -04:00
Simon Cruanes
8ae2ae577a
fix warning 2022-10-03 12:43:37 -04:00
Simon Cruanes
37a9bbb244
chore: lwt_ppx test dep 2022-10-03 12:43:33 -04:00
Simon Cruanes
f95baa533f
try to fix compilation error 2022-10-03 12:20:59 -04:00
Simon Cruanes
a2d08bc3d2
add missing test 2022-10-03 12:20:59 -04:00
Simon Cruanes
9fbe9d2df7
test: update cohttp client test to use cohttp backend as well 2022-10-03 12:20:59 -04:00
Simon Cruanes
c3f5b36e36
feat: add opentelemetry-client-cohttp-lwt library 2022-10-03 12:20:59 -04:00
Simon Cruanes
4ab35e4a54
fix(otel-lwt): missing modules now re-exported 2022-10-03 12:20:59 -04:00
Simon Cruanes
17d723fef8
fix(client-ocurl): fix tick version used in the absence of bg thread 2022-10-03 12:20:59 -04:00
Simon Cruanes
e5ad99f770
rename dir 2022-10-03 12:20:59 -04:00
Simon Cruanes
8dbc5d0fb5
comments for cohttp 2022-10-03 12:20:58 -04:00
Simon Cruanes
3dc7d63c7d
Merge pull request #26 from imandra-ai/otel-0.19
update to Otel 0.19
2022-10-03 12:20:32 -04:00
Simon Cruanes
deae27d0bd
update generated code and main library 2022-09-30 14:13:38 -04:00
Simon Cruanes
3d00ffc1e0
chore: drop dep on ocaml-protoc as the generated code is checked-in 2022-09-30 13:59:28 -04:00
Simon Cruanes
078b074734
chore: ask for ocaml-protoc 2.3 in CI
version that supports optional in proto3
2022-09-30 13:59:28 -04:00
Simon Cruanes
1aec277063
fix: make sure trace_id/span_id are not all-0 2022-09-30 13:59:28 -04:00
Simon Cruanes
8ea9d205fe
refactor: update opentelemetry to use new codegen 2022-09-30 13:59:28 -04:00
Simon Cruanes
8b1b6aecf2
update codegenerated protos
this requires ocaml-protoc with support for optionals in proto3,
which is [wip](https://github.com/mransan/ocaml-protoc/pull/184).
However we only extract the protobufs explicitly, not during a regular
build
2022-09-30 13:59:28 -04:00
Simon Cruanes
30ddf7e6ad
chore: update vendored otel to 0.19 2022-09-30 13:59:28 -04:00
Simon Cruanes
b08a89da49
Merge pull request #27 from imandra-ai/wip-thread-local
implicit scope using TLS
2022-09-22 10:02:06 -04:00
Simon Cruanes
e60e7754b3
expose Scope.get_surrounding 2022-09-19 16:04:37 -04:00
Simon Cruanes
a2e273282c
feat(opentelemetry): Trace.with_ now has force_new_trace_id param
this parameter can be used to force the creation of a new context,
independent of surrounding context.
2022-09-19 15:01:16 -04:00
Simon Cruanes
8d361744ec
fix warning 2022-09-19 15:01:13 -04:00
Simon Cruanes
19c0fac8fd
fix compilation on < 4.12 2022-09-16 18:54:45 -04:00