Commit graph

65 commits

Author SHA1 Message Date
Simon Cruanes
0c119c3eff
details 2026-01-20 00:15:31 -05:00
Simon Cruanes
ce33809446
ocurl lwt test 2026-01-20 00:15:29 -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
d3559015df
emit1_cohttp: more options, more debug 2026-01-20 00:15:27 -05:00
Simon Cruanes
c9f5a27b22
test binaries: updates 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
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
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
f000c11406
update the emit test so it records how many bytes were emitted 2025-12-01 20:32:03 -05:00
Corentin Leruth
42e41675b5 fmt 2025-11-08 12:43: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
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
Shon Feder
87cfd5e31e
Add test harness for instrumented applications 2025-07-08 21:30:03 -04:00
Shon Feder
b6448b330d
Used default_url 2025-07-08 21:28:55 -04:00
Shon Feder
a95b787a7b
Allowing breaking with ctrl-c 2025-07-08 21:28:55 -04:00
Simon Cruanes
9813ec6afc
Merge pull request #76 from imandra-ai/simon/fix-41
fix: wait for cleanup in cohttp client
2024-10-21 22:57:27 -04:00
Simon Cruanes
5e925d6d4a
fix tests 2024-10-18 13:18:15 -04:00
Corentin Leruth
1a78802c20 do not use deprecated functions 2024-10-18 11:26:57 +02:00
Simon Cruanes
7629e419c8
format 2024-09-20 09:22:13 -04:00
Corentin Leruth
3daa0d8762 port changes to cohttp client 2024-08-05 10:00:52 +02:00
Corentin Leruth
1b7b8edbe0 remove get_url in tests 2024-08-05 09:45:15 +02:00
Simon Cruanes
b830c3d1be
config: self-trace is disabled by default for now 2023-12-20 16:07:59 -05:00
Simon Cruanes
e052893759
bench: add counter 2023-12-14 20:49:11 -05:00
Elliott Cable
9a834b39f7 dune fmt 2023-09-20 15:15:58 +00:00
Simon Cruanes
e03be377f1
update test 2023-06-16 22:58:17 -04:00
Simon Cruanes
8ae2ae577a
fix warning 2022-10-03 12:43:37 -04:00