Commit graph

867 commits

Author SHA1 Message Date
Simon Cruanes
db423c1b79
feat client-ocurl: port to just being a consumer
the rest is reusable components from opentelemetry-client
2026-01-20 00:15:16 -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
2f5646ab4f
config fix 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
79b75cd79b
remove unused argument for Logger 2026-01-20 00:15:15 -05:00
Simon Cruanes
dbc4c0b133
doc 2026-01-20 00:15:15 -05:00
Simon Cruanes
30d6749815
warning 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
a98a1aeb3f
feat emitter: add flat_map 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
00cf5aa712
fix integrations 2026-01-20 00:15:14 -05:00
Simon Cruanes
d02d609cf9
feat lib: easily access the main tracer, logger, etc 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
a0b421dcdc
feat lib/tracer: restore with_ and with_thunk_and_finally !! 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
5804cd299b
feat trace: make it compile again, no TLS, no magic strings, pass exporter 2026-01-20 00:15:14 -05:00
Simon Cruanes
c4e8f8c39b
feat lib: dynamic forward to main; improve Main_exporter 2026-01-20 00:15:14 -05:00
Simon Cruanes
35f8bbc67d
feat exporter: split tick/on_tick again 2026-01-20 00:15:14 -05:00
Simon Cruanes
fe0aa297a6
perf: optimize {Trace,Span}_id.is_zero 2026-01-20 00:15:14 -05:00
Simon Cruanes
98cf8fbdbc
fix warning 2026-01-20 00:15:13 -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
cf39d2a699
feat: tracer, logger, etc are regular emitters now 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
1ee298a1a3
feat core: add Any_signal.t; make Exporter a record of emitters 2026-01-20 00:15:13 -05:00
Simon Cruanes
df4d657c1a
emitter: add enabled() field, and tap 2026-01-20 00:15:13 -05:00
Simon Cruanes
ebed5d7ce8
wip: various fixes 2026-01-20 00:15:13 -05:00
Simon Cruanes
3fdb0eebd5
feat lib: expose Ambient_span 2026-01-20 00:15:13 -05:00
Simon Cruanes
0671d767d9
wip: trace 2026-01-20 00:15:12 -05:00
Simon Cruanes
5aec2c99b8
fix rand_bytes: init at least the local domain's Rand state 2026-01-20 00:15:12 -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
114e2eb566
feat emitter: better docs, add a to_list emitter 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
1f275c21d0
chore: makefile 2026-01-20 00:15:12 -05:00
Simon Cruanes
b64ba8fbcd
fixes after we removed Scope 2026-01-20 00:15:12 -05:00
Simon Cruanes
a643bc6c02
fix self_trace 2026-01-20 00:15:12 -05:00
Simon Cruanes
b91139509b
WIP trace (hiiii) 2026-01-20 00:15:12 -05:00
Simon Cruanes
08be80b74b
wip: opentelemetry.emitter with same time
a bit like a buffered writer for any data
2026-01-20 00:15:12 -05:00
Simon Cruanes
959cf724fd
refactor core 2026-01-20 00:15:11 -05:00
Simon Cruanes
6ccf554645
feat span: ambient span 2026-01-20 00:15:11 -05:00
Simon Cruanes
e79df14a90
refactor thoroughly ambient-context
we have a new explicit `Storage.t` interface, that can be used to
get a `Context.t` (a hmap) and to locally swap it; then we have multiple
implementations of the Storage; and then we have a singleton atomic
containing the "main" storage.
2026-01-20 00:15:11 -05:00