Commit graph

181 commits

Author SHA1 Message Date
Simon Cruanes
173131ce84
warnings 2026-01-20 00:15:21 -05:00
Simon Cruanes
d7da4c4443
feat client: overhaul of bounded queue; generic_consumer 2026-01-20 00:15:20 -05:00
Simon Cruanes
e3c6c41a0d
wip: bugfixing 2026-01-20 00:15:20 -05:00
Simon Cruanes
15268270df
client: start heavily refactoring to use Aswitch, also fix bugs 2026-01-20 00:15:20 -05:00
Simon Cruanes
61f17fa6ce
better exporter/emitter combinators; better cleanup (now shutdown) 2026-01-20 00:15:19 -05:00
Simon Cruanes
25afa2085c
feat batch: proper closing of wrap_emitter; default batch=100 2026-01-20 00:15:19 -05:00
Simon Cruanes
eeae5bf41c
perf batch: proper backoff strategy 2026-01-20 00:15:19 -05:00
Simon Cruanes
abe022dbc0
feat batch: get rid of Mutex
this should result in lower overhead for single threaded situations such
as lwt or eio.
2026-01-20 00:15:19 -05:00
Simon Cruanes
3a52b1642f
fix warnings 2026-01-20 00:15:19 -05:00
Simon Cruanes
5daef6873b
client config: improve printer 2026-01-20 00:15:18 -05:00
Simon Cruanes
ee40e445d1
fix notifier_sync 2026-01-20 00:15:18 -05:00
Simon Cruanes
6eeb0b9b08
todo 2026-01-20 00:15:17 -05:00
Simon Cruanes
e0ff144248
move Util_thread.MCond to Notifier_sync 2026-01-20 00:15:17 -05:00
Simon Cruanes
cd4eb06ca6
improve notifier_lwt 2026-01-20 00:15:17 -05:00
Simon Cruanes
f1437a842f
feat client: generic consumer, notifier, etc. 2026-01-20 00:15:17 -05:00
Simon Cruanes
64c7125838
feat: for exponential backoff 2026-01-20 00:15:17 -05:00
Simon Cruanes
05608340e5
client: lwt helpers, error helpers, thread utils, lwt notifier 2026-01-20 00:15:16 -05:00
Simon Cruanes
703755e775
client config: add http_concurrency_level option 2026-01-20 00:15:16 -05:00
Simon Cruanes
53335468d9
feat client: add Exporter_add_batching 2026-01-20 00:15:16 -05:00
Simon Cruanes
bff2c4bcce
refactor consumer 2026-01-20 00:15:16 -05:00
Simon Cruanes
72851b8e34
custom queue in Bounded_queue_sync, remove bespoke stuff from Sync_queue 2026-01-20 00:15:16 -05:00
Simon Cruanes
6ce1ebf9c7
wip: exporter_queued, a queue + a consumer 2026-01-20 00:15:16 -05:00
Simon Cruanes
60d355ea23
carry service_name and attrs when building resources objects 2026-01-20 00:15:15 -05:00
Simon Cruanes
53cb32308a
feat client: add bounded queue interface and sync-queue based implem 2026-01-20 00:15:15 -05:00
Simon Cruanes
d1a451550b
add client.Any_resource 2026-01-20 00:15:15 -05:00
Simon Cruanes
4fc76ae3e4
rename 2026-01-20 00:15:15 -05:00
Simon Cruanes
0323c9204f
sync_queue: more operations, including a batch push 2026-01-20 00:15:15 -05:00
Simon Cruanes
8640db6a8c
doc 2026-01-20 00:15:15 -05:00
Simon Cruanes
4f218b31ef
mor efixes 2026-01-20 00:15:14 -05:00
Simon Cruanes
5a6bd442b7
fix client, allow to set the self-tracing tracer. 2026-01-20 00:15:14 -05:00
Simon Cruanes
9453506d7b
migrate a few more things to lib/ from core/ 2026-01-20 00:15:14 -05:00
Simon Cruanes
1ac44c4dd8
feat client: add exporter_stdout 2026-01-20 00:15:13 -05:00
Simon Cruanes
e8cb0fc1ca
move interval_limiter to src/client 2026-01-20 00:15:13 -05:00
Simon Cruanes
9dd15d109a
update exporters and emitter combinators in client 2026-01-20 00:15:13 -05:00
Simon Cruanes
689b932c63
client: add sampler; batch and sampler are now emitter transformers 2026-01-20 00:15:12 -05:00
Simon Cruanes
b8228dfe25
split core library into opentelemetry.core and opentelemetry 2026-01-20 00:15:12 -05:00
Simon Cruanes
a643bc6c02
fix self_trace 2026-01-20 00:15:12 -05:00
Simon Cruanes
b433a11c9a
perf: avoid building closures in Signal 2026-01-20 00:15:11 -05:00
Simon Cruanes
ced8dd421f
feat client: various changes 2026-01-20 00:15:10 -05:00
Simon Cruanes
8692976f3e
client: add debug_exporter, stdout_exporter, resource helpers 2026-01-20 00:15:10 -05:00
Simon Cruanes
a35ea4c646
fixes 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
e31f5f6aba
refactor: move the Mutex.protect backport into Util_mutex 2025-11-19 12:20:13 -05:00
ajbt200128
3fbac32822 fix: mutex usage and inline bugs 2025-11-12 14:27:36 -08:00
Corentin Leruth
42e41675b5 fmt 2025-11-08 12:43:21 +01:00
Simon Cruanes
8eda0730e9
remove dead code 2025-09-08 12:24:49 -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