Simon Cruanes
2fa7c05ebd
wip: migrate to trace 0.11 and ambient-context 0.2
2026-03-03 09:13:48 -05: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
Shon Feder
16daccb6df
Remove cruft from old testing method
...
Also document the signal reporter executable
2025-07-10 15:58:53 -04:00
Shon Feder
5bf8eea5f1
Define find_map for 4.08 compat
2025-07-10 09:29:20 -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
Shon Feder
0b2faca469
Add tests for Opentelemetry.Client.Config
2025-06-11 00:10:28 -04:00
Shon Feder
d62f680fc3
Refactor client configuration
...
Enabling sharing all common configuration logic
2025-06-10 00:40:13 -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
e73ea7e6ad
make urls from env take precedence
2024-08-09 08:17:08 +02:00
Corentin Leruth
8aafa45896
port urls test + rename
2024-08-05 10:04:12 +02: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
Corentin Leruth
1b538930ae
add support for per-signal urls
2024-08-02 08:52:43 +02:00
Simon Cruanes
e7056f4bfc
test: update output
2024-02-12 14:18:01 -05:00
Simon Cruanes
1b9ba95faf
more tests, better error message
2024-02-12 13:57:20 -05:00
Simon Cruanes
e4c41b2b62
test: update test output
2024-02-12 11:17:12 -05: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
Simon Cruanes
6bf49dc050
refactor tests to avoid circular dependencies
2023-11-08 11:35:19 -05:00
Elliott Cable
9a834b39f7
dune fmt
2023-09-20 15:15:58 +00:00
Elliott Cable
ed90772a57
Merge branch 'master' into configurable-scope-storage
...
* master:
fix ocurl: have ticker thread stop when work queue is closed
fix get_url test to take config.url into account
add get_url test with explicit config url
chore: makefile
update generated code
opentelemetry: in Trace, change default span kind
chore: migrate to OTEL proto files 1.0
CI: run on 5.0; run on every branch push
remove use of String.ends_with for compat with 4.08
remove trailing slash from url
shorter name for the instrumentation library
use named signals
2023-09-20 14:47:14 +00:00
Elliott Cable
2be60c7ba6
tests: Add failing test for threaded implicit-scope
2023-09-19 23:57:42 +00:00
Corentin Leruth
a62f1d891a
fix get_url test to take config.url into account
2023-09-13 15:18:13 -04:00
Corentin Leruth
329d45ee45
add get_url test with explicit config url
2023-09-13 15:18:13 -04: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
Simon Cruanes
a2d08bc3d2
add missing test
2022-10-03 12:20:59 -04:00
Simon Cruanes
9fbe9d2df7
test: update cohttp client test to use cohttp backend as well
2022-10-03 12:20:59 -04:00
Simon Cruanes
555a69a0de
test: in emit1, use implicit local storage
2022-09-16 17:00:51 -04:00
Simon Cruanes
9c3e2a7076
feat: pass ?stop atomic; allow for multiple background threads
2022-07-06 12:53:00 -04:00
Simon Cruanes
bac633d09d
test: add -j and other options to emit1
2022-07-05 15:03:30 -04:00
Simon Cruanes
f44351055a
Merge branch 'master' into wip-logs
2022-05-12 12:26:07 -04:00