Commit graph

265 commits

Author SHA1 Message Date
Simon Cruanes
a44c5dc33a in remove_backend, call tick() then cleanup() on it 2024-10-17 13:45:28 -04:00
Simon Cruanes
97030757c1 feat: allow to remove backend
close #70
2024-10-17 13:45:28 -04:00
Simon Cruanes
041d05eb9f fix otel.trace: record exception in with_span
close #71
2024-10-17 11:06:34 -04:00
Nicola Mometto
f8079a13ea chore: update warnings 2024-10-17 14:20:20 +01:00
Corentin Leruth
ac1a27eb89 reduce memory usage of Scope.t 2024-10-10 21:22:16 +02:00
Simon Cruanes
036c108a27
Merge pull request #66 from tatchi/add-links
add links to scope
2024-10-07 11:10:06 -04:00
Corentin Leruth
41f1f43470 add Scope.make 2024-10-07 16:37:01 +02:00
Corentin Leruth
b3747cfc8e add links to scope 2024-10-07 15:07:05 +02:00
Simon Cruanes
076f39b1be
remove optional dep on rcontext 2024-10-04 21:02:39 -04:00
Simon Cruanes
420ad5484e
feat otel.trace: use "otel.error" to influence a span status 2024-09-30 14:14:41 -04:00
Simon Cruanes
461811a2cb
feat trace: set status of a span based on exception.message 2024-09-30 12:40:17 -04:00
Simon Cruanes
60a0b843e6
feat: update and fix opentelemetry.trace 2024-09-30 12:34:16 -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
7629e419c8
format 2024-09-20 09:22:13 -04:00
ajbt200128
242d304639 Add events to spans created 2024-09-20 08:24:11 -04:00
Corentin Leruth
d6d36ee73d add url to error log 2024-09-20 08:16:37 -04:00
Simon Cruanes
a9971e4d41
eio local storage 2024-09-06 09:48:06 -04:00
Simon Cruanes
1bcea95ed9
feat: lwt backend 2024-09-06 09:43:56 -04:00
Simon Cruanes
faa0808034
wip 2024-09-06 07:48:54 -04:00
Simon Cruanes
9584a7426f
wip: inline ambient-context into opentelemetry 2024-09-05 16:11:09 -04:00
Simon Cruanes
4f6cf08041
Merge pull request #56 from tatchi/tatchi/per-signals-url
add support for per-signal urls
2024-08-12 10:14:57 -04:00
Corentin Leruth
e73ea7e6ad make urls from env take precedence 2024-08-09 08:17:08 +02:00
Corentin Leruth
f0dd5a7a35 remove unused config parameter 2024-08-09 08:04:08 +02:00
Corentin Leruth
ea092ae0f9 add host attributes 2024-08-08 10:56:35 +02:00
Corentin Leruth
3daa0d8762 port changes to cohttp client 2024-08-05 10:00:52 +02:00
Corentin Leruth
fd0f1617b6
Update src/client-ocurl/config.mli
Co-authored-by: Simon Cruanes <simon.cruanes.2007@m4x.org>
2024-08-05 09:41:04 +02:00
Corentin Leruth
1b538930ae add support for per-signal urls 2024-08-02 08:52:43 +02:00
Christoph M. Wintersteiger
bf11fd2a5e
Disable protocol regeneration during normal library use 2024-08-01 19:16:23 +01:00
Simon Cruanes
5d5d909c18
also handle the non force case 2024-07-22 10:55:51 -04:00
Simon Cruanes
592814dab8
fix: emit GC metrics even in the absence of custom metrics 2024-07-22 10:48:15 -04:00
Simon Cruanes
7d50a0bb53
require trace 0.7 2024-03-21 17:30:45 -04:00
Simon Cruanes
715578c374
doc 2024-03-08 12:22:17 -05:00
Simon Cruanes
267ac195ef
prepare for 0.8 2024-03-08 11:50:01 -05:00
Simon Cruanes
14b9f440d1 make otel-trace a bit more lightweight 2024-03-07 11:43:12 -05:00
Simon Cruanes
03d9a6f9a2
ocurl: more info in debug mode 2024-03-07 11:31:30 -05:00
Simon Cruanes
4534b789ef
perf: detail in core 2024-03-07 11:31:26 -05:00
Simon Cruanes
682c4fd7ce
add semantic conventions for code 2024-03-06 12:33:31 -05:00
Simon Cruanes
1686f3825b
some HTTP semantic conventions 2024-03-06 12:22:39 -05:00
Simon Cruanes
6ff9dc2480
hide internals from doc 2024-02-29 15:34:29 -05:00
Simon Cruanes
1cb53c3406
feat: add dep on hmap, add standard keys 2024-02-26 10:17:45 -05:00
Simon Cruanes
5b0bc6162e
cosmetics 2024-02-23 13:01:46 -05:00
Simon Cruanes
7fa4580bb0
better debug message in curl backend 2024-02-23 12:41:18 -05:00
Simon Cruanes
5a78805add
prepare for 0.7 2024-02-14 13:15:14 -05:00
Simon Cruanes
efc9d74a07
add Span_link.of_span_ctx 2024-02-12 14:17:23 -05:00
Simon Cruanes
e001d62fd5
add Scope.to_span_ctx 2024-02-12 14:00:51 -05:00
Simon Cruanes
1b9ba95faf
more tests, better error message 2024-02-12 13:57:20 -05:00
Simon Cruanes
84ba8c7473
add dummy values for span/trace id, and for span_ctx 2024-02-12 13:44:02 -05:00
Simon Cruanes
fbba875d95
perf: rewrite parsing+printing for span ctx as w3c trace ctx 2024-02-12 11:16:51 -05:00
Simon Cruanes
a47699f6f8
feat: add Span_context, as required by OTEL API guidelines 2024-02-12 11:16:34 -05:00