Commit graph

866 commits

Author SHA1 Message Date
Simon Cruanes
8c1d658ab9
add to_hex/of_hex for span id/trace id 2022-03-23 18:49:44 -04:00
Dave Aitken
d982dafa60
fix(lwt): add events to span from scope 2022-03-23 21:09:11 +00:00
Simon Cruanes
e2e2c4baac
fuck vendoring atomic 2022-03-23 15:33:03 -04:00
Dave Aitken
18ae3bc41b
Merge pull request #5 from AestheticIntegration/dave/lwt-with-scope
tidy: return scope from lwt with_ (consistent with non-lwt version)
2022-03-23 15:44:02 +00:00
Dave Aitken
51ddd79634
tidy: return scope from lwt with_ (consistent with non-lwt version) 2022-03-23 15:11:03 +00:00
Matt Bray
ec3c0f106a clean(test): cumulative temporality is now default 2022-03-23 13:00:19 +00:00
Simon Cruanes
4fd4139921
always use a default aggregation_temporality 2022-03-23 08:58:18 -04:00
Simon Cruanes
5fa29d6975
Merge pull request #4 from AestheticIntegration/metric-attributes
more attributes
2022-03-23 08:49:25 -04:00
Matt Bray
eadb95e8fb feat: set global attributes on ResourceSpans/ResourceMetrics 2022-03-23 12:26:51 +00:00
Matt Bray
a683232b5a feat: include global_attributes in metric data points 2022-03-23 12:26:51 +00:00
Matt Bray
9ba57c5df1 refactor: use _conv_key_value 2022-03-23 12:26:51 +00:00
Matt Bray
69889a7b9a feat(test): --debug flag 2022-03-23 11:51:21 +00:00
Matt Bray
32c0e0e493 test: specify aggregation_temporality (required for datadog) 2022-03-22 20:30:45 +00:00
Matt Bray
84c9bdba35 fix test 2022-03-22 20:30:45 +00:00
Simon Cruanes
81b22aabca
test: remove toplevel span in emit1 2022-03-22 14:34:52 -04:00
Simon Cruanes
3065f29347
Merge pull request #1 from AestheticIntegration/more-serious-ocurl-backend
More serious ocurl backend
2022-03-22 13:36:27 -04:00
Simon Cruanes
03313e9121
fix(ocurl): check for batch timeouts in exporter as well 2022-03-22 13:00:06 -04:00
Simon Cruanes
3a72a73c15
self exported metrics 2022-03-22 12:38:29 -04:00
Simon Cruanes
bcbb07027f
add ?enable to the ocurl client 2022-03-22 11:33:12 -04:00
Simon Cruanes
000292cd17
catch errors in backend 2022-03-22 11:26:24 -04:00
Simon Cruanes
b03ff26ba6
change signature of with_setup 2022-03-22 11:18:52 -04:00
Simon Cruanes
a768c55eac
chore: put lower bound on mtime 2022-03-22 11:10:44 -04:00
Simon Cruanes
f84f16b34a
update atomic, do not list it as opam dep 2022-03-22 10:01:36 -04:00
Simon Cruanes
3bb840c363
wip ci 2022-03-22 09:58:53 -04:00
Simon Cruanes
11aa0a3247
try to fix CI 2022-03-21 16:59:47 -04:00
Simon Cruanes
83cd095dcf
try to fix CI 2022-03-21 16:54:05 -04:00
Simon Cruanes
7ba3109131
try to fix CI 2022-03-21 15:44:20 -04:00
Simon Cruanes
fb0778805d
ocurl backend: implement non-threaded mode, add config for batch timeout
emit batches, even if they're not full, after given timeout
2022-03-21 15:20:31 -04:00
Simon Cruanes
c030bf9c21
depend on atomic shims, vendor them 2022-03-21 15:20:20 -04:00
Simon Cruanes
a00d4d2383
collector: if queue is full, drop item, and wakeup thread 2022-03-21 15:06:38 -04:00
Simon Cruanes
396ef4c366
test(emit1): knobs to change sleep, batch size, collector config etc. 2022-03-21 15:01:56 -04:00
Simon Cruanes
124ba09b2b
feat: implement background thread, collector config, batching 2022-03-21 15:01:41 -04:00
Simon Cruanes
3d89103ca6
typo 2022-03-21 13:16:50 -04:00
Simon Cruanes
b8b6a95cdf
test: graceful shutdown on ctrl-c 2022-03-21 12:19:35 -04:00
Simon Cruanes
302711ea06
fix test 2022-03-21 11:45:46 -04:00
Simon Cruanes
341c70f18f
make add_event lazy 2022-03-21 11:19:36 -04:00
Simon Cruanes
64d9a91d51
add Event type 2022-03-21 11:16:46 -04:00
Simon Cruanes
ca16c6e68d
fix 2022-03-21 10:39:54 -04:00
Simon Cruanes
bec21639b7
lwt: trace.with_ 2022-03-21 10:37:26 -04:00
Simon Cruanes
f2e728765a
fix test 2022-03-21 10:21:08 -04:00
Simon Cruanes
06727ff588
add more metadata 2022-03-21 10:10:50 -04:00
Simon Cruanes
064951c368
fix build race condition? 2022-03-18 22:49:07 -04:00
Simon Cruanes
bfa534e31c
test: simulate some failing span 2022-03-18 16:41:12 -04:00
Simon Cruanes
958d79c875
add status to spans 2022-03-18 16:35:30 -04:00
Simon Cruanes
898b62aeb7
ci badge 2022-03-18 14:20:32 -04:00
Simon Cruanes
5f2098619a
doc, etc. 2022-03-18 14:17:56 -04:00
Simon Cruanes
f20e613256
chore: ci 2022-03-18 12:13:28 -04:00
Simon Cruanes
47e1939b8f
add odoc as a doc dep 2022-03-18 12:12:51 -04:00
Simon Cruanes
d261347987
ci 2022-03-18 11:53:43 -04:00
Simon Cruanes
6faedf5636
fix build race condition 2022-03-18 11:53:37 -04:00