Commit graph

580 commits

Author SHA1 Message Date
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
9e2fc9445b
new gh-pages 2024-02-20 13:20:19 -05:00
Simon Cruanes
5a78805add
prepare for 0.7 2024-02-14 13:15:14 -05:00
Simon Cruanes
8aaca71875
Merge pull request #53 from imandra-ai/wip-add-span-ctx
add span context, rewrite w3c trace context
2024-02-13 09:11:44 -05:00
Simon Cruanes
e7056f4bfc
test: update output 2024-02-12 14:18:01 -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
e4c41b2b62
test: update test output 2024-02-12 11:17:12 -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
7f026bb084
Merge pull request #52 from imandra-ai/wip-trace-0.6
support trace 0.6
2024-02-12 10:30:03 -05:00
Simon Cruanes
0d8c3ab9bf
fix 2024-02-12 09:47:17 -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
8d0f815fe2
CI 2024-02-09 14:57:50 -05:00
Simon Cruanes
086c7a71df
CI 2024-02-09 14:46:42 -05:00
Simon Cruanes
97daf5b402
compat with trace 0.6 2024-02-09 14:45:50 -05:00
Simon Cruanes
b9f574d3b2
chore: compat with trace 0.6 2024-02-09 14:37:09 -05:00
Simon Cruanes
81d2d5ceef
chore: make sure we don't depend on ocaml-protoc for regular build 2024-02-07 14:47:42 -05:00
Simon Cruanes
b95eb21282
Merge pull request #49 from imandra-ai/wip-perf-2023-12-20
perf and features
2023-12-21 08:51:13 -05:00
Simon Cruanes
031b7bfc38
more doc 2023-12-21 08:28:07 -05:00
Simon Cruanes
b830c3d1be
config: self-trace is disabled by default for now 2023-12-20 16:07:59 -05:00
Simon Cruanes
133b6ad991
revert: use collector again for self-tracing spans
it's less dangerous to emit spans for self-tracing, even
if nothing else is going on, than risk having them accumulate
in case the program emits no spans but emits a lot of
metrics and logs (which create self-tracing spans)
2023-12-20 16:05:41 -05:00
Simon Cruanes
9c2b885f95
detail 2023-12-20 15:58:33 -05:00
Simon Cruanes
f0310530a3
ocurl: add ticker_interval_ms config
ticker interval will affect how often metrics are emitted,
this doesn't need be related to batch timeouts.
2023-12-20 15:57:53 -05:00
Simon Cruanes
d4186f64f4
client ocurl: do self-tracing in cheaper way
we don't go through OTEL for self tracing as it can create
regular span emission where normally there would be none
(emitting a self-tracing span might create a batch, which then
has to be sent after the batch timeout, and sending
that one creates a new span, etc.)
2023-12-20 15:49:50 -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
3d16de634f
refine seld tracing 2023-12-20 14:29:23 -05:00
Simon Cruanes
f0750cdfb5
otel-ocurl: some self-tracing 2023-12-20 14:22:31 -05:00
Simon Cruanes
5005c3aa9b
perf: when we get multiple messages, check batches only once 2023-12-20 14:01:24 -05:00
Simon Cruanes
47f7f1d110
Merge pull request #48 from imandra-ai/wip-protoc-3.0
use ocaml-protoc 3.0.x
2023-12-20 14:00:55 -05:00
Simon Cruanes
8164ae55b8
CI: only on push to main 2023-12-14 20:49:12 -05:00
Simon Cruanes
936c74ea36
fast CI 2023-12-14 20:49:11 -05:00
Simon Cruanes
e6405ef7b6
CI 2023-12-14 20:49:11 -05:00
Simon Cruanes
f6afc3df1c
use ocaml-protoc 3.0.1 for codegen 2023-12-14 20:49:11 -05:00