Commit graph

317 commits

Author SHA1 Message Date
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
Simon Cruanes
555a69a0de
test: in emit1, use implicit local storage 2022-09-16 17:00:51 -04:00
Simon Cruanes
6bdf351313
fix warning 2022-09-16 17:00:46 -04:00
Simon Cruanes
35d1782c72
use thread-local storage to store global scope 2022-09-16 16:58:15 -04:00
Simon Cruanes
b2df8ab31d
Merge pull request #25 from imandra-ai/span-links
module for Span links
2022-08-15 13:55:30 -04:00
Simon Cruanes
97b9cb8ea8
detail 2022-08-15 13:18:14 -04:00
Simon Cruanes
788dc38e9b
format 2022-08-15 12:45:50 -04:00
Simon Cruanes
d061c64818
fix 2022-08-15 12:34:52 -04:00
Simon Cruanes
b01dd32ead
add Span_link module 2022-08-15 12:30:22 -04:00
Simon Cruanes
b5c35c5c1e
ocamlformat-ignore 2022-08-15 12:30:16 -04:00
Simon Cruanes
56bd892c9a
feat: add a ref Globals.default_span_kind to specify default span kind 2022-08-02 11:28:33 -04:00
Simon Cruanes
2b1b688256
prepare for 0.3 2022-07-08 11:52:30 -04:00
Simon Cruanes
d235d8ab8c
chore: try to fix gh-pages CI 2022-07-07 16:43:02 -04:00
Simon Cruanes
586e16e1c5
Merge pull request #24 from imandra-ai/wip-better-client
improve client code
2022-07-07 10:42:39 -04:00
Simon Cruanes
41e9962c08
fix: do not emit empty batches 2022-07-06 19:55:50 -04:00
Simon Cruanes
16667a3fcf
improved logging for ocurl exporter 2022-07-06 19:49:12 -04:00
Simon Cruanes
d3b366f04b
print received status when httpclient fails 2022-07-06 19:39:04 -04:00
Simon Cruanes
8495d469ee
improve error reporting 2022-07-06 19:24:24 -04:00
Simon Cruanes
7eb75d66d6
better error reporting 2022-07-06 19:23:32 -04:00
Simon Cruanes
4c98764432
reduce impact of error 2022-07-06 19:14:40 -04:00
Simon Cruanes
50743d3097
do not decode result of http post 2022-07-06 19:11:26 -04:00
Simon Cruanes
12b5f6c765
heinous typo 2022-07-06 16:29:02 -04:00
Simon Cruanes
77ebf0cced
docs 2022-07-06 16:21:12 -04:00
Simon Cruanes
2d97dd0705
debug 2022-07-06 16:02:49 -04:00
Simon Cruanes
9125eb5b65
better logging; improve GC sample collection 2022-07-06 15:48:46 -04:00
Simon Cruanes
88ce296d21
small refactor 2022-07-06 15:27:32 -04:00
Simon Cruanes
0a8e60ba46
better debug 2022-07-06 14:56:27 -04:00
Simon Cruanes
84be273b76
small refactor 2022-07-06 14:27:09 -04:00
Simon Cruanes
053493db8b
limit scope of locks 2022-07-06 14:22:53 -04:00
Simon Cruanes
6d72a6fac0
fix error on 4.08 2022-07-06 13:42:52 -04:00
Simon Cruanes
6179c97e99
add high watermark to ocurl client 2022-07-06 13:41:03 -04:00
Simon Cruanes
9c3e2a7076
feat: pass ?stop atomic; allow for multiple background threads 2022-07-06 12:53:00 -04:00
Simon Cruanes
331ae94547
detail 2022-07-06 12:52:03 -04:00
Simon Cruanes
d689dfc8fb
feat(ocurl): simpler, cleaner backend implementation
we now only have a single representation of a batch, with its own
internal state to handle timeouts. It handles its own locking, and there
are no callbacks anymore.
2022-07-06 12:06:51 -04:00
Simon Cruanes
85b6e91615
config: more comments; make Config.t private
forcing users to use `Config.make` to build a new config means we can
add fields without breaking existing code.
2022-07-06 12:06:12 -04:00
Simon Cruanes
59c1d7254c
format 2022-07-05 15:05:33 -04:00
Simon Cruanes
bac633d09d
test: add -j and other options to emit1 2022-07-05 15:03:30 -04:00
Simon Cruanes
b5d3d8cbbb
changelog 2022-06-10 09:39:55 -04:00
Simon Cruanes
40420bb7e2
chore: upstream patch from @mseri 2022-06-10 09:33:25 -04:00
Simon Cruanes
36dcdda480
prepare for 0.2 2022-06-09 12:40:20 -04:00
Simon Cruanes
a577b837aa
require recent lwt 2022-06-09 12:40:20 -04:00