Commit graph

30 commits

Author SHA1 Message Date
Simon Cruanes
e2c4a4e680
tracer/logger/metrics_emitter now pair emitter and clock
- clock is needed because timestamps need to be provided now
- explicit types are good anyway
- have at least one helper to emit the signal with optional
tracer/logger/metrics_emitter
- easier logger with `log` and `logf`
2026-01-20 00:15:25 -05:00
Simon Cruanes
15268270df
client: start heavily refactoring to use Aswitch, also fix bugs 2026-01-20 00:15:20 -05:00
Simon Cruanes
b429336740
export more from opentelemetry_lwt 2026-01-20 00:15:18 -05:00
Simon Cruanes
4f218b31ef
mor efixes 2026-01-20 00:15:14 -05:00
Simon Cruanes
b64ba8fbcd
fixes after we removed Scope 2026-01-20 00:15:12 -05:00
Simon Cruanes
a33c57a46e
wip: refactor 2026-01-20 00:15:11 -05:00
Simon Cruanes
51af3a4105
format 2025-05-05 14:41:20 -04:00
Corentin Leruth
ce23facec1 use reraise 2024-09-24 21:23:51 +02:00
Corentin Leruth
00d46841e4 add record_exception 2024-09-24 09:35:26 +02:00
Simon Cruanes
0d8c3ab9bf
fix 2024-02-12 09:47:17 -05:00
Elliott Cable
d668f5c472 lwt: Share impl details with non-lwt with_ 2023-08-01 21:42:35 +00:00
Simon Cruanes
67f4f5b9cc
Merge pull request #31 from ELLIOTTCABLE/try-lwt-over-lwt-catch
Use try%lwt over Lwt.catch
2023-06-23 14:20:06 -04:00
Simon Cruanes
8e1a69d886
enable warnings and fix them 2023-06-15 22:18:20 -04:00
Elliott Cable
3e46458499 (style lwt ppx dep) Use try%lwt over Lwt.catch 2023-06-13 22:50:52 +00:00
Simon Cruanes
4ab35e4a54
fix(otel-lwt): missing modules now re-exported 2022-10-03 12:20:59 -04:00
Simon Cruanes
8d361744ec
fix warning 2022-09-19 15:01:13 -04:00
Simon Cruanes
b676783100
format 2022-05-05 12:09:19 -04:00
Simon Cruanes
fdd4582a2f
util: add module to emit some GC metrics 2022-03-28 11:37:17 -04:00
Matt Bray
d92a9be08a feat: allow passing ~scope back to Trace.with_ 2022-03-25 15:56:01 +00:00
Simon Cruanes
901730583c
remove over from backend 2022-03-24 10:59:37 -04:00
Dave Aitken
b52d9d02e0
fire-and-forget sending of spans to collector so we dont block userland 2022-03-24 14:27:33 +00:00
Dave Aitken
1ca6497a73
add add_attrs helper to add attrs to existing scope 2022-03-24 14:10:12 +00:00
Dave Aitken
d982dafa60
fix(lwt): add events to span from scope 2022-03-23 21:09:11 +00:00
Dave Aitken
51ddd79634
tidy: return scope from lwt with_ (consistent with non-lwt version) 2022-03-23 15:11:03 +00:00
Matt Bray
eadb95e8fb feat: set global attributes on ResourceSpans/ResourceMetrics 2022-03-23 12:26:51 +00:00
Simon Cruanes
64d9a91d51
add Event type 2022-03-21 11:16:46 -04:00
Simon Cruanes
ca16c6e68d
fix 2022-03-21 10:39:54 -04:00
Simon Cruanes
bec21639b7
lwt: trace.with_ 2022-03-21 10:37:26 -04:00
Simon Cruanes
06727ff588
add more metadata 2022-03-21 10:10:50 -04:00
Simon Cruanes
aea549862b
lwt library 2022-03-18 11:09:50 -04:00