Commit graph

127 commits

Author SHA1 Message Date
Simon Cruanes
7b5b451b2c
finally redact these logs 2026-01-20 00:15:29 -05:00
Simon Cruanes
b1589ccf76
stupid fix 2026-01-20 00:15:28 -05:00
Simon Cruanes
979a3ab3c8
test: redact current ocaml version from signal-gatherer output
this should make expect tests more robust.
2026-01-20 00:15:28 -05:00
Simon Cruanes
5622d81ae7
test: change port for test_logs_e2e
otherwise sometimes it clashes with the ocurl client test
2026-01-20 00:15:28 -05:00
Simon Cruanes
d9362ae788
feat: add runtime/otel-specific name and version modifiable
this way we can mock them in tests, but we can also change the name
"ocaml-otel" to something else, e.g. if we have specific conventions.
2026-01-20 00:15:28 -05:00
Simon Cruanes
6ddfe1715a
more e2e tests, including cohttp_lwt 2026-01-20 00:15:27 -05:00
Simon Cruanes
d3559015df
emit1_cohttp: more options, more debug 2026-01-20 00:15:27 -05:00
Simon Cruanes
f8269ed1c8
the test library was wrong!!!
turns out, find_map is the wrong operation when resources object
actually contain more than one item.
2026-01-20 00:15:27 -05:00
Simon Cruanes
95e8c78ff8
merge any_signal/signal into resource_signal, dedup
we had duplication there! my bad.
2026-01-20 00:15:27 -05:00
Simon Cruanes
5596552379
wip: fix the e2e tests
not clear exactly why there is a discrepancy currently whenever -j is
higher than 1
2026-01-20 00:15:27 -05:00
Simon Cruanes
c9f5a27b22
test binaries: updates 2026-01-20 00:15:26 -05:00
Simon Cruanes
1853fa7585
fix some tests 2026-01-20 00:15:26 -05:00
Simon Cruanes
bef4bd88b2
use Clock.ptime_clock where it makes sense 2026-01-20 00:15:25 -05:00
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