Simon Cruanes
987b57191c
Merge pull request #24 from c-cube/wip-fuchsia
...
fuchsia trace format
2024-01-09 11:41:28 -05:00
Simon Cruanes
6e217e053b
Merge pull request #23 from c-cube/wip-ppx
...
ppx_trace
2024-01-09 10:43:24 -05:00
Simon Cruanes
434972bc26
remove dead code
2024-01-02 12:32:51 -05:00
Simon Cruanes
bc41a53f6c
limit test to package
2023-12-27 21:37:34 -05:00
Simon Cruanes
5571751f3e
missed some uses of Atomic
2023-12-27 21:33:04 -05:00
Simon Cruanes
6aeb1ea007
remove unused dep
2023-12-27 21:20:08 -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
f34671b05c
bench and tests for fuchsia
2023-12-25 22:53:25 -05:00
Simon Cruanes
a1fa6e267b
gitignore
2023-12-25 22:53:18 -05:00
Simon Cruanes
68d3969cde
good progress on fuchsia collector
2023-12-25 22:52:50 -05:00
Simon Cruanes
9567c1b4a7
ppx: add let%trace <span var> = "name" in …
...
this allows the user to access the span within the scope.
2023-12-25 22:38:22 -05:00
Simon Cruanes
1277a64803
update test
2023-12-25 18:58:24 -05:00
Simon Cruanes
f08850cda8
some tests for fuchsia writer
2023-12-25 18:56:57 -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
Simon Cruanes
7f9370e842
refactor: split some parts of trace-tef into trace.private.util
2023-12-25 16:51:52 -05:00
Simon Cruanes
14f9a2ea94
doc
2023-12-22 21:41:10 -05:00
Simon Cruanes
bb520d90b5
ppx: make sure to reconstruct backtraces
2023-12-22 21:38:31 -05:00
Simon Cruanes
78edd779d4
readme
2023-12-22 21:33:34 -05:00
Simon Cruanes
b1ccd58040
try to avoid capture
2023-12-22 21:33:30 -05:00
Simon Cruanes
a6ba54a817
add test for ppx_trace
2023-12-22 21:25:13 -05:00
Simon Cruanes
8ce25c2815
add ppx_trace
2023-12-22 21:24:53 -05:00
Simon Cruanes
b387729081
share code for implicit spans
2023-12-22 20:15:25 -05:00
Simon Cruanes
ef15941936
functions to enter/exit implicit spans
2023-12-22 20:10:58 -05:00
Simon Cruanes
a0874f2c31
prepare for 0.5
2023-12-07 16:16:07 -05:00
Simon Cruanes
756ea1d22c
refactor: avoid some deadlocks in trace-tef
2023-12-07 16:16:07 -05:00
Simon Cruanes
debb0211b7
update test
2023-12-07 16:16:07 -05:00
Simon Cruanes
079949d139
tef: emit last message when worker exits
2023-12-07 16:16:07 -05:00
Simon Cruanes
721212be27
faster CI
2023-12-07 16:16:07 -05:00
Simon Cruanes
317509681e
trace-tef: simplify code
2023-12-06 20:51:35 -05:00
Simon Cruanes
c16666d214
perf: reduce overhead in trace-tef
...
we call onto the channel functions less, because they
involve locking. Instead we do all writes into a (reused) buffer
and write it all at once at the end.
2023-12-05 14:52:40 -05:00
Simon Cruanes
3c14f7d9f0
make benchmark more ruthless
2023-12-05 14:50:34 -05:00
Simon Cruanes
0e198c8059
compat < 5.0
2023-11-28 14:31:16 -05:00
Simon Cruanes
67bc11b4d3
fix for 4.08
2023-11-28 14:31:16 -05:00
Simon Cruanes
544892df42
chore: add missing dep on atomic
2023-11-28 14:31:16 -05:00
Simon Cruanes
c82fb362e8
trace-tef: add Mpsc_queue, adapted from picos; use it in trace_tef
2023-11-28 14:31:16 -05:00
Simon Cruanes
73ead3e369
gitignore
2023-11-28 14:31:16 -05:00
Simon Cruanes
e20028e3f9
add basic benchmark to exercize trace-tef
2023-11-28 14:31:16 -05:00
Simon Cruanes
f3ae3397de
fix docs
2023-10-11 13:29:37 -04:00
Simon Cruanes
4624d1800c
prepare for 0.4
2023-09-20 09:26:20 -04:00
Simon Cruanes
0135a613a9
add ?data to counter_int and counter_float
...
this makes sense to add metadata in, say, opentelemetry
2023-09-16 21:29:01 -04:00
Simon Cruanes
ba9d3d3d20
small refactor
2023-09-15 10:01:20 -04:00
Simon Cruanes
572f2848c8
add float to user data
2023-09-15 10:01:20 -04:00