Corentin Leruth
ac1a27eb89
reduce memory usage of Scope.t
2024-10-10 21:22:16 +02:00
Corentin Leruth
41f1f43470
add Scope.make
2024-10-07 16:37:01 +02:00
Corentin Leruth
b3747cfc8e
add links to scope
2024-10-07 15:07:05 +02:00
Simon Cruanes
7629e419c8
format
2024-09-20 09:22:13 -04:00
Corentin Leruth
d6d36ee73d
add url to error log
2024-09-20 08:16:37 -04:00
Corentin Leruth
e73ea7e6ad
make urls from env take precedence
2024-08-09 08:17:08 +02:00
Corentin Leruth
fd0f1617b6
Update src/client-ocurl/config.mli
...
Co-authored-by: Simon Cruanes <simon.cruanes.2007@m4x.org>
2024-08-05 09:41:04 +02:00
Corentin Leruth
1b538930ae
add support for per-signal urls
2024-08-02 08:52:43 +02:00
Simon Cruanes
5d5d909c18
also handle the non force case
2024-07-22 10:55:51 -04:00
Simon Cruanes
592814dab8
fix: emit GC metrics even in the absence of custom metrics
2024-07-22 10:48:15 -04:00
Simon Cruanes
03d9a6f9a2
ocurl: more info in debug mode
2024-03-07 11:31:30 -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
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
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
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
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
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
Anurag Soni
7973cee9c0
Allow spaces in header values
2022-11-04 22:43:42 -04: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