Simon Cruanes
135dc327b3
carry service_name and attrs when building resources objects
2025-12-04 21:33:10 -05:00
Simon Cruanes
dff5c9668e
remove unused argument for Logger
2025-12-04 21:28:15 -05:00
Simon Cruanes
9e4b32ce97
doc
2025-12-04 21:28:04 -05:00
Simon Cruanes
15daf8aff5
warning
2025-12-04 21:27:53 -05:00
Simon Cruanes
90d59b40d9
feat client: add bounded queue interface and sync-queue based implem
2025-12-04 21:12:43 -05:00
Simon Cruanes
6f2134f189
add client.Any_resource
2025-12-04 21:12:43 -05:00
Simon Cruanes
8a45f71698
rename
2025-12-04 21:12:43 -05:00
Simon Cruanes
500c9a8ba8
sync_queue: more operations, including a batch push
2025-12-04 21:12:43 -05:00
Simon Cruanes
e267c83be7
feat emitter: add flat_map
2025-12-04 21:12:43 -05:00
Simon Cruanes
70b435f8ec
doc
2025-12-04 21:12:43 -05:00
Simon Cruanes
22298495e2
mor efixes
2025-12-04 21:10:21 -05:00
Simon Cruanes
1ee89d7d9b
fix integrations
2025-12-04 15:30:14 -05:00
Simon Cruanes
b9a05737d7
feat lib: easily access the main tracer, logger, etc
2025-12-04 14:42:20 -05:00
Simon Cruanes
76a54ac6e1
fix client, allow to set the self-tracing tracer.
2025-12-04 14:37:20 -05:00
Simon Cruanes
281e8b3ea7
feat lib/tracer: restore with_ and with_thunk_and_finally !!
2025-12-04 14:33:39 -05:00
Simon Cruanes
8d9f21da2c
migrate a few more things to lib/ from core/
2025-12-04 14:25:46 -05:00
Simon Cruanes
0a69040bae
feat trace: make it compile again, no TLS, no magic strings, pass exporter
2025-12-04 14:17:03 -05:00
Simon Cruanes
0b73b2fac9
feat lib: dynamic forward to main; improve Main_exporter
2025-12-04 14:16:32 -05:00
Simon Cruanes
ab0f3a98ba
feat exporter: split tick/on_tick again
2025-12-04 14:16:08 -05:00
Simon Cruanes
1ff56c60bf
perf: optimize {Trace,Span}_id.is_zero
2025-12-04 12:08:01 -05:00
Simon Cruanes
8b6c0a2a70
fix warning
2025-12-04 12:07:52 -05:00
Simon Cruanes
ab4246d686
feat client: add exporter_stdout
2025-12-04 11:30:49 -05:00
Simon Cruanes
baf25c07ee
move interval_limiter to src/client
2025-12-04 11:30:38 -05:00
Simon Cruanes
6c59585227
feat: tracer, logger, etc are regular emitters now
2025-12-04 10:57:32 -05:00
Simon Cruanes
2a08d62c13
update exporters and emitter combinators in client
2025-12-04 10:57:02 -05:00
Simon Cruanes
cded07d90a
feat core: add Any_signal.t; make Exporter a record of emitters
2025-12-04 10:56:30 -05:00
Simon Cruanes
57b790d2d2
emitter: add enabled() field, and tap
2025-12-04 10:56:04 -05:00
Simon Cruanes
2a798098c5
wip: various fixes
2025-12-04 10:18:18 -05:00
Simon Cruanes
07e17d9682
feat lib: expose Ambient_span
2025-12-04 10:18:07 -05:00
Simon Cruanes
242370f94d
wip: trace
2025-12-04 10:18:03 -05:00
Simon Cruanes
aa96be2e0f
fix rand_bytes: init at least the local domain's Rand state
2025-12-04 10:17:20 -05:00
Simon Cruanes
bb6d83483c
client: add sampler; batch and sampler are now emitter transformers
2025-12-04 10:16:55 -05:00
Simon Cruanes
755e24a1e8
feat emitter: better docs, add a to_list emitter
2025-12-04 10:07:29 -05:00
Simon Cruanes
e9fafd431a
split core library into opentelemetry.core and opentelemetry
2025-12-04 09:31:06 -05:00
Simon Cruanes
a56cd5c073
chore: makefile
2025-12-04 01:08:09 -05:00
Simon Cruanes
2dc836b7b4
fixes after we removed Scope
2025-12-04 01:07:50 -05:00
Simon Cruanes
e29ec44561
fix self_trace
2025-12-04 01:07:41 -05:00
Simon Cruanes
c009b1d20a
WIP trace (hiiii)
2025-12-04 01:07:26 -05:00
Simon Cruanes
5bc7365e56
wip: opentelemetry.emitter with same time
...
a bit like a buffered writer for any data
2025-12-04 01:06:52 -05:00
Simon Cruanes
f8ec859f8b
refactor core
2025-12-04 01:06:42 -05:00
Simon Cruanes
c05c7e2bfc
feat span: ambient span
2025-12-04 00:24:42 -05:00
Simon Cruanes
c5b2269aab
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.
2025-12-04 00:23:23 -05:00
Simon Cruanes
d52345c3a8
wip: refactor
2025-12-03 16:07:14 -05:00
Simon Cruanes
f0cd1ad375
perf: avoid building closures in Signal
2025-12-03 16:06:50 -05:00
Simon Cruanes
0054671b0b
wip: trace
2025-12-03 16:06:43 -05:00
Simon Cruanes
9eaf31ec90
refator core OTEL: remove Scope, directly use Span as builder
...
now that fields are mutable, it's cheaper and easier
2025-12-03 16:06:20 -05:00
Simon Cruanes
d856e1d33d
fix client-ocurl-lwt to use the new exporter interface
2025-12-03 15:36:29 -05:00
Simon Cruanes
15cda06ea0
feat: use a pbrt encoder pool in client-ocurl
2025-12-03 15:36:10 -05:00
Simon Cruanes
7020148d44
feat client-ocurl: use common batch and queue; remove layer of queueing
...
now we modify batches on the fly when we send signals; but there
still is a thread pool to send signals via HTTP.
2025-12-03 15:09:10 -05:00
Simon Cruanes
5c3c03cdd8
feat client: various changes
2025-12-03 15:08:40 -05:00