Commit graph

22 commits

Author SHA1 Message Date
Simon Cruanes
424a82c8a5 in backends, call tick() before cleaning up
this helps flushing signals that are being batched.

close #69
2024-10-17 13:45:28 -04:00
Simon Cruanes
7629e419c8
format 2024-09-20 09:22:13 -04:00
Corentin Leruth
e73ea7e6ad make urls from env take precedence 2024-08-09 08:17:08 +02:00
Corentin Leruth
f0dd5a7a35 remove unused config parameter 2024-08-09 08:04:08 +02:00
Corentin Leruth
3daa0d8762 port changes to cohttp client 2024-08-05 10:00:52 +02: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
f6afc3df1c
use ocaml-protoc 3.0.1 for codegen 2023-12-14 20:49:11 -05:00
Elliott Cable
9a834b39f7 dune fmt 2023-09-20 15:15:58 +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
03f6f69bdd collector: Add debug-wrapping backend 2023-09-19 21:35:09 +00: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
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
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
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
f436a1b109
fix(cohttp-lwt-client): do not override config url 2022-11-09 11:53:14 -05:00
Anurag Soni
7973cee9c0 Allow spaces in header values 2022-11-04 22:43:42 -04:00
Simon Cruanes
f95baa533f
try to fix compilation error 2022-10-03 12:20:59 -04:00
Simon Cruanes
c3f5b36e36
feat: add opentelemetry-client-cohttp-lwt library 2022-10-03 12:20:59 -04:00