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
Simon Cruanes
725a806b8b
migrate to ocaml-protoc 3.0
2023-12-14 20:49:11 -05:00
Simon Cruanes
e052893759
bench: add counter
2023-12-14 20:49:11 -05:00
Simon Cruanes
e53cffbf12
chore: add upper bound on pbrt
2023-12-03 15:57:41 -05:00
Simon Cruanes
211c328498
Merge pull request #47 from imandra-ai/wip-cleanup-core-library
...
move protobuf code to opentelemetry.proto
2023-11-17 15:35:05 -05:00
Simon Cruanes
794527ebbd
fix: regenerate code with a non-pinned ocaml-protoc
2023-11-14 23:43:20 -05:00
Simon Cruanes
9c096411a2
debug git diff
2023-11-14 22:42:39 -05:00
Simon Cruanes
705d541c3f
chore: use protoc 2.4 in CI
2023-11-08 12:11:32 -05:00
Simon Cruanes
65e9af6091
format
2023-11-08 12:01:50 -05:00
Simon Cruanes
16b3859856
ocamlformat
2023-11-08 12:01:32 -05:00
Simon Cruanes
0532c9b9ef
add missing proto directory
2023-11-08 11:41:59 -05:00
Simon Cruanes
6bf49dc050
refactor tests to avoid circular dependencies
2023-11-08 11:35:19 -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
Elliott Cable
6362bc55ef
trace-collector: Use Trace_core instead of Trace for OCaml v5
2023-10-02 17:59:28 +00:00
Elliott Cable
eb5b6dffaf
tests: Add every test-dep to every package
2023-10-02 17:48:55 +00:00
Elliott Cable
fb1133be3d
chore: Prepare for v0.6
2023-09-25 16:23:58 +00:00