Simon Cruanes
a4144ff3d1
extensible metric; pass level around in collector
2026-01-21 21:04:53 -05:00
Simon Cruanes
594a101922
remove unused dep on thread-local-storage
2026-01-20 20:18:16 -05:00
Simon Cruanes
e98c11c9e0
remove dead code and on_tracing_error
2026-01-17 10:42:45 -05:00
Simon Cruanes
f714482fe4
address warnings
2026-01-15 20:53:15 -05:00
Simon Cruanes
22d91d4f40
rewrite trace-fuchsia to work with new collector
2026-01-15 20:43:05 -05:00
Simon Cruanes
2a866e60f8
fix fuchsia and tef backends to use trace_id
2026-01-14 22:30:00 -05:00
Simon Cruanes
2cfb3c67fa
port fuchsia to new subscriber
2026-01-14 22:09:33 -05:00
Simon Cruanes
89eecf7ba3
breaking: use poly variants for user_data/span_flavor in subscriber
...
no need to do redundant conversions.
2025-12-04 12:39:03 -05:00
Simon Cruanes
aeb2aff3b7
breaking: require subscribers to provide mk_span/mk_trace_id
...
we want control over this!
2025-12-04 12:31:14 -05:00
Simon Cruanes
acae4ff88d
doc
2025-11-01 22:18:16 -04:00
Simon Cruanes
a81785f8c0
fix fuchsia: bound check
2025-07-26 01:20:40 -04:00
Simon Cruanes
cd5785d938
format
2025-05-27 09:54:58 -04:00
Simon Cruanes
d1759fea89
fix for 4.08
2025-05-07 22:32:29 -04:00
Simon Cruanes
d7f0aff406
cleaner tracing errors
2025-05-07 17:19:47 -04:00
Simon Cruanes
190f70d7c9
feat fuchsia: full revamp of the library, modularized
...
- separate exporter, writer, subscriber
- use the subscriber span tbl to keep track of context
- use a `Buf_chain.t` to keep multiple buffers in use,
and keep a set of ready buffers
- batch write the ready buffers and then recycle them
2025-05-07 15:33:34 -04:00
Simon Cruanes
7405e3ae1b
wip: port fuchsia to subscriber infra
2025-05-05 15:08:57 -04:00
Simon Cruanes
46242cd817
format
2025-04-11 12:25:47 -04:00
Simon Cruanes
477cc21bf1
format using 0.27
2025-04-11 12:25:21 -04:00
Simon Cruanes
d737022e11
fix: beware of dummy trace id
2025-04-11 12:25:10 -04:00
Simon Cruanes
d3bfb7776b
fix compat
2025-04-09 10:48:18 -04:00
Simon Cruanes
151d80d0f1
breaking: feat(trace): pass a string trace_id in manual spans
...
- in entering manual spans, we now pass an explicit span_ctx that
contains a trace_id (bytes) and the parent span id (int64).
- this makes compat with OTEL easier as we want this sort
of span_ctx to be passed around.
2025-04-09 09:28:09 -04:00
Simon Cruanes
4dfa319003
feat: add an extensible sum type for extending the library
...
libraries and collectors can now define their own "events" that
collectors will handle (or not), without having to contribute them to
ocaml-trace at all.
2024-10-29 09:21:09 -04:00
Simon Cruanes
6383fcfff9
feat trace-fuchsia: require thread-local-storage 0.2
2024-08-16 12:32:04 -04:00
Simon Cruanes
3c2f804716
add hmap as a depopt ( #28 )
...
if present, we use `Hmap.t` as the meta map for manual spans
2024-02-24 11:33:48 -05:00
Simon Cruanes
05be245163
fix: truncate large strings in fuchsia
2024-02-20 15:10:20 -05:00
Simon Cruanes
a1df7eb88e
wip: fix fuchsia in case strings are too big
2024-02-13 16:12:08 -05:00
Simon Cruanes
d73a754189
doc
2024-01-19 10:02:49 -05:00
Simon Cruanes
fcbabb055b
CI: test all the packages
2024-01-10 12:25:32 -05:00
Simon Cruanes
43cc061096
fix build
2024-01-10 10:42:26 -05:00
Simon Cruanes
434972bc26
remove dead code
2024-01-02 12:32:51 -05:00
Simon Cruanes
622770808d
fix too strict assertion
2023-12-27 17:34:47 -05:00
Simon Cruanes
eaa76ecb4c
details
2023-12-27 17:29:10 -05:00
Simon Cruanes
bc92d97a76
perf fuchsia: use a stack to hold in-flight spans, not a hashtable
2023-12-26 22:10:17 -05:00
Simon Cruanes
2e4971d23d
chore: we don't actually depend on atomic
2023-12-26 21:27:31 -05:00
Simon Cruanes
c2551a7e4b
fix warning
2023-12-26 21:21:23 -05:00
Simon Cruanes
ca22f07ca3
fix fuchsia: proper implem for setting thread name
2023-12-26 21:20:43 -05:00
Simon Cruanes
56d3117d06
do not drop events still in buffers at exit
2023-12-26 01:14:14 -05:00
Simon Cruanes
713cf6b4cf
fuchsia: metadata events
2023-12-26 00:56:49 -05:00
Simon Cruanes
68d3969cde
good progress on fuchsia collector
2023-12-25 22:52:50 -05:00
Simon Cruanes
6eced76971
fuchsia: fixes (size is in words, not bytes)
2023-12-25 18:56:46 -05:00
Simon Cruanes
00caf6aad5
wip: collector for the fuchsia trace format
2023-12-25 16:52:22 -05:00