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
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
97daf5b402
compat with trace 0.6
2024-02-09 14:45:50 -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
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
794527ebbd
fix: regenerate code with a non-pinned ocaml-protoc
2023-11-14 23:43:20 -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
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
9a834b39f7
dune fmt
2023-09-20 15:15:58 +00:00
Elliott Cable
76c18c55c2
trace-collector: Pass user-data to OTel metrics
2023-09-20 15:14:10 +00:00
Elliott Cable
ed90772a57
Merge branch 'master' into configurable-scope-storage
...
* master:
fix ocurl: have ticker thread stop when work queue is closed
fix get_url test to take config.url into account
add get_url test with explicit config url
chore: makefile
update generated code
opentelemetry: in Trace, change default span kind
chore: migrate to OTEL proto files 1.0
CI: run on 5.0; run on every branch push
remove use of String.ends_with for compat with 4.08
remove trailing slash from url
shorter name for the instrumentation library
use named signals
2023-09-20 14:47:14 +00:00
Elliott Cable
1809075095
trace-collector: Support for floats, etc from trace
2023-09-20 02:30:53 +00:00
Elliott Cable
057a27abe9
(- fix) Use new TLS-module naming from ac.0.1.0
2023-09-20 02:13:15 +00:00
Elliott Cable
caade960b6
fix: Repair ambient scope
2023-09-19 23:57:53 +00:00
Elliott Cable
03f6f69bdd
collector: Add debug-wrapping backend
2023-09-19 21:35:09 +00:00