Commit graph

12 commits

Author SHA1 Message Date
Simon Cruanes
ee2e5dd651
refactor: avoid the cursed stdlib Trace module by adding trace.core
this way, we can actually use only `trace.core` when we also expect to
use compiler-libs.toplevel (which contains a naked `Trace` module, which
would cause .cmi collisions). The library `trace` still exists, and just
forwards to `trace.core`.
2023-06-12 13:12:41 -04:00
Simon Cruanes
341f137ebd
add counter_int and counter_float 2023-06-09 23:05:54 -04:00
Simon Cruanes
1735abeb8b
api change: message does not take location
even tracy doesn't have that. Otoh a message should have an optional
span for OTEL.
2023-06-09 16:53:53 -04:00
Simon Cruanes
b6db37fab0
add thread/process name setting 2023-06-09 16:07:49 -04:00
Simon Cruanes
06b7bf28b7
remove domain stub entirely 2023-06-09 09:55:42 -04:00
Simon Cruanes
261874bfa8
add optional metadata to messages and spans 2023-06-09 09:54:19 -04:00
Simon Cruanes
1fed3eba8e
change API 2023-06-09 09:34:31 -04:00
Simon Cruanes
c58810f4e8
fix build error; make tests deterministic 2023-06-08 23:47:52 -04:00
Simon Cruanes
0707d932bc
perf: make with_ inlinable in case there is no collector 2023-06-08 23:17:39 -04:00
Simon Cruanes
07645ffa1a
add trace-tef, a simple backend 2023-06-08 22:31:32 -04:00
Simon Cruanes
39a14bbede
re-export Collector module 2023-06-08 21:30:09 -04:00
Simon Cruanes
68bcc7c9e2
initial commit 2023-06-08 21:25:34 -04:00