Commit graph

282 commits

Author SHA1 Message Date
Simon Cruanes
35bb142cd0
prepare for 0.9.1 2025-04-09 08:50:00 -04:00
Simon Cruanes
528cc4b7a6
fix: upper bound on ppxlib 2025-03-19 21:35:08 -04:00
Simon Cruanes
46c9a7d66d
update opam files 2025-03-19 21:16:45 -04:00
Simon Cruanes
86d4fc25ac
feat trace-tef: print names of non-closed spans upon exit 2025-03-13 20:39:31 -04:00
Simon Cruanes
c5e813170d
fix: block signals in background threads 2025-03-13 15:55:09 -04:00
Simon Cruanes
357db5c5bb
CI 2025-01-13 13:27:44 -05:00
Simon Cruanes
87ab6993d7
CI 2025-01-13 13:18:30 -05:00
Simon Cruanes
064e6e26bb
prepare for 0.9 2025-01-13 10:17:57 -05: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
9a7b4710a3
prepare for 0.8 2024-09-17 11:29:48 -04:00
Simon Cruanes
f8b8f00a14
doc 2024-09-17 11:19:25 -04:00
Simon Cruanes
27d4f59523
docs, readme 2024-09-17 11:08:54 -04:00
Simon Cruanes
11d313df18
Merge pull request #32 from c-cube/simon/subscribers
trace-subscriber
2024-09-17 10:51:39 -04:00
Simon Cruanes
9dd2cf5ade
fix: remove spurious dep 2024-09-17 10:46:41 -04:00
Simon Cruanes
6920c3341a
refactor: use trace.subscriber instead of a separate library 2024-09-17 10:36:49 -04:00
Simon Cruanes
cc6c311b45
more docs 2024-09-10 10:43:44 -04:00
Simon Cruanes
d36275574a
readme 2024-09-09 18:03:17 -04:00
Simon Cruanes
d8059e9aa0
feat: Subscriber.tee 2024-09-09 17:05:41 -04:00
Simon Cruanes
5b1ad7275b
feat subscriber: avoid polyvariants entirely 2024-09-09 15:59:46 -04:00
Simon Cruanes
8ce4f332c6
fix: smll change for manual spans 2024-09-09 15:33:09 -04:00
Simon Cruanes
797895c193
test: update tests 2024-09-09 15:25:01 -04:00
Simon Cruanes
7ddfa6c39f
I 2024-09-09 15:09:14 -04:00
Simon Cruanes
136ff47e66
test: fix tests 2024-09-09 14:44:33 -04:00
Simon Cruanes
839eb3fcdf
feat tef-tldrs: expose a subscriber 2024-09-09 14:44:23 -04:00
Simon Cruanes
59db458fec
tef: expose subscriber_jsonl 2024-09-09 14:44:13 -04:00
Simon Cruanes
bebd037803
wip: trace-subscriber package 2024-09-09 14:14:25 -04:00
Simon Cruanes
57aec09be9 rename tef.tldr to tef.tldrs 2024-08-23 15:17:55 -04:00
Simon Cruanes
8697f53405 add basic bench for trace-tef.multiproc 2024-08-23 15:17:55 -04:00
Simon Cruanes
ba6861630d fix trace-tef.tldr: turn TEF path to an absolute one 2024-08-23 15:17:55 -04:00
Simon Cruanes
3f28b8032a feat: add trace-tef.tldr for tracing multiple processes 2024-08-23 15:17:55 -04:00
Simon Cruanes
62837c5193 feat tef: accept a out_channel directly in the collector 2024-08-23 15:17:55 -04:00
Simon Cruanes
0b6dc27556 break tef: use mtime.now, not a counter, for multiproc
this allows us to correlate timestamps among processes on the same
machine.
2024-08-23 15:17:55 -04:00
Simon Cruanes
f8c1d2d972
refactor tef: move event in a side file 2024-08-16 15:45:24 -04:00
Simon Cruanes
6383fcfff9
feat trace-fuchsia: require thread-local-storage 0.2 2024-08-16 12:32:04 -04:00
Simon Cruanes
1e20dab45c
format 2024-08-16 12:31:56 -04:00
Simon Cruanes
62063f3f94
prepare for 0.7 2024-03-08 11:59:24 -05:00
Simon Cruanes
e76a977330 fixes: check for dummy spans in some operations 2024-03-08 11:45:28 -05:00
Simon Cruanes
b52f15068d add get_default_level() 2024-03-08 11:45:28 -05:00
Simon Cruanes
37f8a237ff CI 2024-03-08 11:45:28 -05:00
Simon Cruanes
de8b51a9a2 feat: add levels to Trace_core.
these levels are used to control the verbosity levels.
2024-03-08 11:45:28 -05:00
Simon Cruanes
d0e159785e
fix in trace-tef now that meta-map can raise Invalid_arg 2024-03-01 15:18:04 -05: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
d3e710605e
update @since next tags 2024-01-24 22:44:28 -05:00
Simon Cruanes
d73a754189
doc 2024-01-19 10:02:49 -05:00
Simon Cruanes
23231464d1
Merge pull request #25 from c-cube/wip-doc-ci
add doc generation in CI
2024-01-19 10:00:44 -05:00
Simon Cruanes
aa1b43be43
odoc again 2024-01-19 09:44:07 -05:00
Simon Cruanes
7e087ffc54
more CI 2024-01-19 09:31:35 -05:00
Simon Cruanes
ecf51ce32b
CI: use odoc, not odig 2024-01-19 09:09:06 -05:00