Commit graph

100 commits

Author SHA1 Message Date
Simon Cruanes
51af3a4105
format 2025-05-05 14:41:20 -04:00
Simon Cruanes
5788492946
breaking: change Collector.cleanup so it takes a callback
this callback can be used to resolve a Lwt future, for example, to make
sure we indeed wait for the cleanup to be done before exiting.
2025-04-17 16:09:14 -04:00
Simon Cruanes
6a378e49ce
format 2025-04-17 14:59:28 -04:00
Simon Cruanes
9b5f3cd0c3
feat: adapt to trace 0.10 2025-04-17 10:04:16 -04:00
Simon Cruanes
34a4a87fc3
perf: details 2025-04-09 10:00:50 -04:00
Simon Cruanes
21de8b1f4b
forgot to update tags 2025-03-19 09:06:57 -04:00
Corentin Leruth
7ef6677dff add missing sample argument to Traceparent.to_value 2025-03-03 09:32:01 -05:00
Simon Cruanes
92613d8526
fix 2025-01-30 20:44:57 -05:00
Corentin Leruth
4f9247d6d0 support sampled flag 2025-01-30 20:32:48 -05:00
Simon Cruanes
1848b02c0f add optional args to Span_link.of_span_ctx 2025-01-14 09:32:11 -05:00
Simon Cruanes
c71caa93be feat otel: add Span_kind.t, add {kind,set_kind} to Scope 2025-01-14 09:32:11 -05:00
Corentin Leruth
5aa5c5ed0a expose Span_status types 2024-10-24 10:48:10 -04:00
Simon Cruanes
3a22a932f4
Merge pull request #75 from tatchi/add-set-span-status
add Scope.set_span_status
2024-10-21 12:01:01 -04:00
Simon Cruanes
865b446829
Update src/core/opentelemetry.ml 2024-10-21 10:40:46 -04:00
Corentin Leruth
53c1ddba8c re-add code to set span status based on scope 2024-10-18 11:35:16 +02:00
Corentin Leruth
acc9cb3abb move comments to signature 2024-10-18 11:29:11 +02:00
Corentin Leruth
6a1f1eb06b move span status to item_list 2024-10-18 11:22:43 +02:00
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
Corentin Leruth
3264b3c2ca add Scope.set_span_status 2024-10-17 18:18:32 +02:00
Corentin Leruth
ac1a27eb89 reduce memory usage of Scope.t 2024-10-10 21:22:16 +02: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
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
Simon Cruanes
faa0808034
wip 2024-09-06 07:48:54 -04:00
Corentin Leruth
ea092ae0f9 add host attributes 2024-08-08 10:56:35 +02: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
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
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
1cb53c3406
feat: add dep on hmap, add standard keys 2024-02-26 10:17:45 -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
Simon Cruanes
7d40554025
fix 2024-02-09 15:52:00 -05:00
Simon Cruanes
479f1f39c8
feat: record backtraces in error spans 2024-02-09 15:34:21 -05:00
Simon Cruanes
abafac8361
use dune-generated version number in instrumentation name 2024-02-09 14:58:55 -05:00
Simon Cruanes
9c2b885f95
detail 2023-12-20 15:58:33 -05:00
Simon Cruanes
bd8b483e81
feat: use AList for tick callbacks; emit GC events on tick
it's cleaner to emit GC events on ticks rather than on GC,
because it avoids both spamming if the GC is very active, and
emitting nothing when there are few allocations.
2023-12-20 15:46:39 -05:00
Simon Cruanes
2ac799f10d
move AList to core 2023-12-20 15:45:57 -05:00
Simon Cruanes
f6afc3df1c
use ocaml-protoc 3.0.1 for codegen 2023-12-14 20:49:11 -05:00
Simon Cruanes
db45d9ff56
no open 2023-11-07 15:35:40 -05:00
Simon Cruanes
b826f85977
move protobuf code to opentelemetry.proto 2023-11-07 15:34:12 -05:00