Commit graph

114 commits

Author SHA1 Message Date
Simon Cruanes
e2c4a4e680
tracer/logger/metrics_emitter now pair emitter and clock
- clock is needed because timestamps need to be provided now
- explicit types are good anyway
- have at least one helper to emit the signal with optional
tracer/logger/metrics_emitter
- easier logger with `log` and `logf`
2026-01-20 00:15:25 -05:00
Simon Cruanes
061d2adc68
more dune files 2026-01-20 00:15:25 -05:00
Simon Cruanes
57a915e880
chore: update dune files after implicit_trans_deps=false 2026-01-20 00:15:25 -05:00
Simon Cruanes
b4c8803931
fix tests after renaming Http_config 2026-01-20 00:15:24 -05:00
Simon Cruanes
b55598685f
add after_shutdown to ocurl-lwt client 2026-01-20 00:15:23 -05:00
Simon Cruanes
4e0d59d3f4
add basic test file for ocurl-lwt 2026-01-20 00:15:22 -05:00
Simon Cruanes
dd29cddb21
detail 2026-01-20 00:15:22 -05:00
Simon Cruanes
3eba3df59d
fix emit1: count alloc spans properly; self tracing 2026-01-20 00:15:22 -05:00
Simon Cruanes
6c832df3a6
test binary 2026-01-20 00:15:21 -05:00
Simon Cruanes
0986c2aade
emit1: no syscall for sleep=0 2026-01-20 00:15:21 -05:00
Simon Cruanes
03f5741629
emit1: more options 2026-01-20 00:15:21 -05:00
Simon Cruanes
6151fe0769
basic emit1_stdout test exe 2026-01-20 00:15:20 -05:00
Simon Cruanes
2a3295a9af
update emitter tests 2026-01-20 00:15:20 -05:00
Simon Cruanes
386879ba73
wip: fix tests 2026-01-20 00:15:19 -05:00
Simon Cruanes
d49346c82c
fix test_implicit_scope_sync 2026-01-20 00:15:18 -05:00
Simon Cruanes
27a59d96b3
fix dune files 2026-01-20 00:15:18 -05:00
Simon Cruanes
2e3120fc49
wip: fix tests 2026-01-20 00:15:18 -05:00
Simon Cruanes
da6ac17049
wip: fix tests 2026-01-20 00:15:18 -05:00
Simon Cruanes
4b91971b51
more test output 2025-12-01 20:32:05 -05:00
Simon Cruanes
7839ba97e6
test 2025-12-01 20:32:05 -05:00
Simon Cruanes
d2478f1f82
update test output 2025-12-01 20:32:05 -05:00
Simon Cruanes
5dcf26b142
update generated tests 2025-12-01 20:32:04 -05:00
Simon Cruanes
49ca5bee2b
test 2025-12-01 20:32:04 -05:00
Simon Cruanes
5ef84a46c4
update test output 2025-12-01 20:32:04 -05:00
Simon Cruanes
81b6a81b0e
update core test 2025-12-01 20:32:04 -05:00
Simon Cruanes
6f75e90ee2
fix test 2025-12-01 20:32:03 -05:00
Simon Cruanes
c27cb13d4b
fix test 2025-12-01 20:32:03 -05:00
Simon Cruanes
f000c11406
update the emit test so it records how many bytes were emitted 2025-12-01 20:32:03 -05:00
Simon Cruanes
2a2baeb7cd
update test core 2025-12-01 20:29:54 -05:00
Simon Cruanes
4066cad663
test: improve t_size 2025-12-01 20:29:54 -05:00
Simon Cruanes
6e8877f177
test: reference test for encoding size 2025-12-01 20:29:53 -05:00
Simon Cruanes
a3b4852b89
Merge pull request #111 from tatchi/tatchi/ocurl-lwt
add opentelemetry-client-ocurl-lwt
2025-12-01 17:33:54 -05:00
Corentin Leruth
42e41675b5 fmt 2025-11-08 12:43:21 +01:00
Corentin Leruth
f21c16697d add opentelemetry-client-ocurl-lwt 2025-11-08 12:42:21 +01:00
Simon Cruanes
9974d6a0b6
Merge pull request #107 from shonfeder/fix-deps
Fix dependencies
2025-09-15 09:13:16 -04:00
Shon Feder
df56be2a13
Fix deps
Some deps where not needed. Some packages did not declare all their
needed package deps.
2025-09-11 20:23:09 -04:00
Shon Feder
c30f3b1c0c
Fix possible data races in eio test bin
Since this test runs with multiple domains, we cannot mutate plain refs
as we were without inviting data races.
2025-09-07 23:24:00 -04:00
Simon Cruanes
d9dd7ce32c
Merge pull request #103 from shonfeder/eio-fixes
Fix Eio collector to work accross domains
2025-09-02 09:26:18 -04:00
Shon Feder
16de06aac5
Make emit1_eio.ml emit deterministic signals
As soon as we start running this in multible system threads, the race to
trigger the globals `stop` and `iterations` makes the signal emissions
non-deterministic, which makes the test kind of meaningless. This change
should make them determinstic.
2025-08-01 14:10:02 -04:00
Shon Feder
0890a1a5cd
Use multiple system threads in integration tests 2025-08-01 13:56:50 -04:00
ajbt200128
e7367f9d27 remove automatic license notice 2025-07-31 14:31:27 -07:00
ajbt200128
1e6ee91da4 add tests 2025-07-31 14:27:57 -07:00
ajbt200128
fbb280974a feat: add Logs integration
This PR upstreams the logs integration I wrote for Semgrep, and that
we've been using succesfully for months!
2025-07-31 14:25:52 -07:00
Shon Feder
e678a93570
Fix spelling of variable 2025-07-14 12:34:39 -04:00
Shon Feder
69d15df4f1
Fix deps 2025-07-14 12:34:39 -04:00
Shon Feder
94772c7fe4
Fix GitHub actions for Ocaml5 specific tests
Co-authored-by: Puneeth Chaganti <punchagan@muse-amuse.in>
2025-07-12 00:30:31 -04:00
Shon Feder
7746c871c2
Add Eio collector 2025-07-12 00:30:31 -04:00
Simon Cruanes
7cd3d0321b
detail 2025-07-11 15:41:07 -04:00
Shon Feder
f1b7a2237c
Specify and document the Signal_gatherer API 2025-07-11 13:48:40 -04:00
Shon Feder
8288bcb59b
Use containers in tests
To get access to useful functions that are not in the Stdlib in OCaml 4.08.
2025-07-10 16:11:20 -04:00