Commit graph

779 commits

Author SHA1 Message Date
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
a35ea4c646
fixes 2025-12-01 20:32:03 -05:00
Simon Cruanes
0f1452e01e
update generated code 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
bf09b58a63
update generated protobuf code 2025-12-01 20:32:03 -05:00
Simon Cruanes
30d446c01b
makefile 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
ee8542ea0e
fix warning 2025-12-01 17:49: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
Simon Cruanes
e31f5f6aba
refactor: move the Mutex.protect backport into Util_mutex 2025-11-19 12:20:13 -05:00
Simon Cruanes
1a8f66b49e
Merge pull request #114 from semgrep/main
fix: mutex usage and inline bugs
2025-11-19 12:14:50 -05:00
ajbt200128
3fbac32822 fix: mutex usage and inline bugs 2025-11-12 14:27:36 -08:00
Simon Cruanes
507bf25dcf
Merge pull request #109 from tatchi/fmt
fmt
2025-11-10 12:49:33 -05:00
Simon Cruanes
883d1bc4e5
Merge pull request #110 from tatchi/since-012
add correct release version in comment
2025-11-10 09:34:08 -05:00
Corentin Leruth
78dfbffe13 fix comment 2025-11-10 09:20:38 -05:00
Corentin Leruth
950d5922a1 add correct release version in comment 2025-11-08 12:49:52 +01: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
61b6b46efd
Merge pull request #102 from ajbt200128/austin/nix-flake
add nix flake
2025-09-16 09:03:07 -04:00
Simon Cruanes
b2ef68536d
feat cohttp: set 'accept' header as well 2025-09-15 12:25:04 -04: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
ajbt200128
03609b5845 add cachix setup 2025-09-08 09:32:45 -07:00
ajbt200128
292a9efc4f add nix flake workflow check 2025-09-08 09:32:45 -07:00
ajbt200128
10af0a5513 add nix flake 2025-09-08 09:32:45 -07:00
Simon Cruanes
98a364b046
prepare for 0.12 2025-09-08 12:29:18 -04:00
Simon Cruanes
8eda0730e9
remove dead code 2025-09-08 12:24:49 -04:00
Simon Cruanes
85b6126b78
Merge pull request #106 from shonfeder/fix-races
Make the signal `Batch`ing module thread safe
2025-09-08 12:24:30 -04:00
Simon Cruanes
b778ffdac3
reduce allocations in push 2025-09-08 08:09:05 -04:00
Simon Cruanes
026465f770
reduce size of critical section
better to reverse the list without holding the lock,
as it allocates and might have to yield to another thread
or domain, pause, etc.
2025-09-08 08:08:29 -04:00
Simon Cruanes
76efa381c3
comments 2025-09-08 08:08:18 -04:00
Shon Feder
8a8299020a
Make Batch actually be thread safe 2025-09-07 23:26:20 -04:00
Shon Feder
474d43bdad
Use domain ID instead of thread ID in Eio collector
Eio programs are not generally expected to use threads for concurrency,
but they may well use different domains which we'd want to track during
debugging.
2025-09-07 23:25:25 -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
ecd6ed0b73
Merge pull request #100 from shonfeder/fix-non-atomic-metric-callbacks
fix: make metric callbacks atomic
2025-09-02 15:15:16 -04:00
Simon Cruanes
fa610ed535
Update src/core/opentelemetry.ml 2025-09-02 15:08:22 -04:00
Shon Feder
54b62af1a2
Check for on_click registration exactly once 2025-09-02 15:00:11 -04:00
Shon Feder
93803581b7
fix: make metric callbacks atomic
The use of a non-threadsafe mutable reference for the metrics callbacks
was resulting in a race condition that would sometimes produce
non-deterministic results in the integration tests.

This has not affected the lwt-based collector, because of the single
threaded concurrency Lwt enforces, but it began to show up in the WIP
Eio rewrite, for which I am testing on cross-domain programs.

I suspect this may have also bee affecting the ocurl collector, but we
don't have integration test running on that yet.
2025-09-02 14:41:26 -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
Simon Cruanes
5facbdfc6d
Merge pull request #101 from ajbt200128/austin/logs-integration
feature: Logs integration
2025-08-25 10:10:25 -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
Shon Feder
ddbdc80d57
make Eio collector thread safe
The backend cannot take a switch, because switches cannot be shared
across domains, but the backend is accessed across domains from a global
variable.
2025-08-01 13:56:50 -04:00
Shon Feder
7cdadfaeeb
Fix exception message 2025-08-01 13:56:50 -04:00
ajbt200128
7c35c764bb add install workflow test 2025-07-31 14:36:17 -07:00