Commit graph

197 commits

Author SHA1 Message Date
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
Simon Cruanes
d1c59a59bc
fix ocurl: have ticker thread stop when work queue is closed 2023-09-19 10:13:36 -04:00
Corentin Leruth
a62f1d891a fix get_url test to take config.url into account 2023-09-13 15:18:13 -04:00
Simon Cruanes
e40c999b06
update generated code 2023-09-06 23:37:54 -04:00
Simon Cruanes
b67ecfdda7
opentelemetry: in Trace, change default span kind 2023-09-06 23:34:58 -04:00
Simon Cruanes
063c046933 remove use of String.ends_with for compat with 4.08 2023-08-31 23:44:16 -04:00
Corentin Leruth
883d4bb806 remove trailing slash from url 2023-08-31 23:44:16 -04:00
Simon Cruanes
e2af52ebb0
shorter name for the instrumentation library
this name is encoded a lot (in most batches) and can visually clutter visualisation of spans.
2023-08-30 15:33:37 -04:00
Elliott Cable
f9ea704399 docs: Add a note about well-known-id stability 2023-08-30 02:30:14 +00:00
Elliott Cable
9ecd73cb26 trace-collector: Add static names for well-known strings 2023-08-30 02:28:34 +00:00
Elliott Cable
a890876946 Document otrace.spankind identifier 2023-08-30 02:20:38 +00:00
Elliott Cable
925c962945 trace-collector: Documentation 2023-08-30 01:50:04 +00:00
Elliott Cable
2b3e3d733c trace-collector: Expose Internal module 2023-08-30 01:21:30 +00:00
Elliott Cable
1822c1acaa trace-collector: Support manual spans 2023-08-29 00:11:48 +00:00
Corentin Leruth
9ba1719795 use named signals 2023-08-28 10:37:05 -04:00
Elliott Cable
de35c80799 trace-collector: Match new Trace API 2023-08-03 20:29:35 +00:00
Elliott Cable
9e65566d88 trace-collector: Use OTel semconv for __FUNCTION__ etc 2023-08-03 20:16:34 +00:00
Elliott Cable
1a1c360f4c store: Rename 'surrounding' scope to 'ambient' 2023-08-02 00:19:24 +00:00
Elliott Cable
d668f5c472 lwt: Share impl details with non-lwt with_ 2023-08-01 21:42:35 +00:00
Elliott Cable
a64565f104 store: Extract thread_local, abstract for lwt/eio 2023-08-01 21:03:58 +00:00
Simon Cruanes
83b9837778
fix: always enter new scope in opentelemetry-trace
thanks to @ELLIOTTCABLE for finding this
2023-07-25 16:54:36 -04:00
Simon Cruanes
67f4f5b9cc
Merge pull request #31 from ELLIOTTCABLE/try-lwt-over-lwt-catch
Use try%lwt over Lwt.catch
2023-06-23 14:20:06 -04:00
Simon Cruanes
c016f00a27
restore ticker_thread feature 2023-06-21 14:23:04 -04:00
Simon Cruanes
5c45589882
fix: use the proper content-type header for ezcurl 2023-06-20 11:08:38 -04:00
Simon Cruanes
6e198207dc
ocurl: uniformize debug; implement missing bits; add max batch size 2023-06-20 10:31:41 -04:00
Simon Cruanes
77e763b336
details 2023-06-20 10:31:36 -04:00
Simon Cruanes
832113fe02
new implementation for ocurl backend, using ezcurl and queues 2023-06-16 22:58:08 -04:00
Simon Cruanes
b5c0ef7b20
wip: use blocking queue 2023-06-15 22:29:10 -04:00
Simon Cruanes
8e1a69d886
enable warnings and fix them 2023-06-15 22:18:20 -04:00
Elliott Cable
3e46458499 (style lwt ppx dep) Use try%lwt over Lwt.catch 2023-06-13 22:50:52 +00:00
Simon Cruanes
1ff96737db
fix for trace 0.1 2023-06-12 10:06:25 -04:00
Simon Cruanes
92dfa4c2f8
add opentelemetry.trace
optional interface with the trace library
2023-06-09 19:08:40 -04:00
Simon Cruanes
4e15bedfee
otel: internal helper 2023-06-09 19:08:21 -04:00
Simon Cruanes
dba8528aeb
thread-local: expose set/remove 2023-06-09 19:08:11 -04:00
Simon Cruanes
c9d22309d0
thread-local: add get_or_create 2023-06-09 17:56:35 -04:00
Simon Cruanes
04eafb04b1
TLS: some documentation 2023-06-09 17:42:36 -04:00
Simon Cruanes
bc3ecbc30c
gc metrics every 20s 2022-11-30 17:08:08 -05:00