Commit graph

71 commits

Author SHA1 Message Date
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
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
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
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
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
Corentin Leruth
9ba1719795 use named signals 2023-08-28 10:37:05 -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
832113fe02
new implementation for ocurl backend, using ezcurl and queues 2023-06-16 22:58:08 -04:00
Simon Cruanes
bc3ecbc30c
gc metrics every 20s 2022-11-30 17:08:08 -05:00
Simon Cruanes
dbd08b7e0a
timeout-based GC metrics collection 2022-11-30 17:05:22 -05:00
Simon Cruanes
e5621cdd81
fix warning 2022-10-03 13:08:51 -04:00
Simon Cruanes
17d723fef8
fix(client-ocurl): fix tick version used in the absence of bg thread 2022-10-03 12:20:59 -04:00
Simon Cruanes
e5ad99f770
rename dir 2022-10-03 12:20:59 -04:00
Renamed from src/client/opentelemetry_client_ocurl.ml (Browse further)