Commit graph

122 commits

Author SHA1 Message Date
ajbt200128
fbb280974a feat: add Logs integration
This PR upstreams the logs integration I wrote for Semgrep, and that
we've been using succesfully for months!
2025-07-31 14:25:52 -07:00
Shon Feder
e678a93570
Fix spelling of variable 2025-07-14 12:34:39 -04:00
Shon Feder
69d15df4f1
Fix deps 2025-07-14 12:34:39 -04:00
Shon Feder
94772c7fe4
Fix GitHub actions for Ocaml5 specific tests
Co-authored-by: Puneeth Chaganti <punchagan@muse-amuse.in>
2025-07-12 00:30:31 -04:00
Shon Feder
7746c871c2
Add Eio collector 2025-07-12 00:30:31 -04:00
Simon Cruanes
7cd3d0321b
detail 2025-07-11 15:41:07 -04:00
Shon Feder
f1b7a2237c
Specify and document the Signal_gatherer API 2025-07-11 13:48:40 -04:00
Shon Feder
8288bcb59b
Use containers in tests
To get access to useful functions that are not in the Stdlib in OCaml 4.08.
2025-07-10 16:11:20 -04:00
Shon Feder
16daccb6df
Remove cruft from old testing method
Also document the signal reporter executable
2025-07-10 15:58:53 -04:00
Shon Feder
5bf8eea5f1
Define find_map for 4.08 compat 2025-07-10 09:29:20 -04:00
Shon Feder
87cfd5e31e
Add test harness for instrumented applications 2025-07-08 21:30:03 -04:00
Shon Feder
b6448b330d
Used default_url 2025-07-08 21:28:55 -04:00
Shon Feder
a95b787a7b
Allowing breaking with ctrl-c 2025-07-08 21:28:55 -04:00
Shon Feder
0b2faca469
Add tests for Opentelemetry.Client.Config 2025-06-11 00:10:28 -04:00
Shon Feder
d62f680fc3
Refactor client configuration
Enabling sharing all common configuration logic
2025-06-10 00:40:13 -04:00
Simon Cruanes
9813ec6afc
Merge pull request #76 from imandra-ai/simon/fix-41
fix: wait for cleanup in cohttp client
2024-10-21 22:57:27 -04:00
Simon Cruanes
5e925d6d4a
fix tests 2024-10-18 13:18:15 -04:00
Corentin Leruth
1a78802c20 do not use deprecated functions 2024-10-18 11:26:57 +02: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
8aafa45896 port urls test + rename 2024-08-05 10:04:12 +02:00
Corentin Leruth
3daa0d8762 port changes to cohttp client 2024-08-05 10:00:52 +02:00
Corentin Leruth
1b7b8edbe0 remove get_url in tests 2024-08-05 09:45:15 +02:00
Corentin Leruth
1b538930ae add support for per-signal urls 2024-08-02 08:52:43 +02:00
Simon Cruanes
e7056f4bfc
test: update output 2024-02-12 14:18:01 -05:00
Simon Cruanes
1b9ba95faf
more tests, better error message 2024-02-12 13:57:20 -05:00
Simon Cruanes
e4c41b2b62
test: update test output 2024-02-12 11:17:12 -05:00
Simon Cruanes
b830c3d1be
config: self-trace is disabled by default for now 2023-12-20 16:07:59 -05:00
Simon Cruanes
e052893759
bench: add counter 2023-12-14 20:49:11 -05:00
Simon Cruanes
6bf49dc050
refactor tests to avoid circular dependencies 2023-11-08 11:35:19 -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
2be60c7ba6 tests: Add failing test for threaded implicit-scope 2023-09-19 23:57:42 +00:00
Corentin Leruth
a62f1d891a fix get_url test to take config.url into account 2023-09-13 15:18:13 -04:00
Corentin Leruth
329d45ee45 add get_url test with explicit config url 2023-09-13 15:18:13 -04:00
Simon Cruanes
e03be377f1
update test 2023-06-16 22:58:17 -04:00
Simon Cruanes
8ae2ae577a
fix warning 2022-10-03 12:43:37 -04:00
Simon Cruanes
a2d08bc3d2
add missing test 2022-10-03 12:20:59 -04:00
Simon Cruanes
9fbe9d2df7
test: update cohttp client test to use cohttp backend as well 2022-10-03 12:20:59 -04:00
Simon Cruanes
555a69a0de
test: in emit1, use implicit local storage 2022-09-16 17:00:51 -04:00
Simon Cruanes
9c3e2a7076
feat: pass ?stop atomic; allow for multiple background threads 2022-07-06 12:53:00 -04:00
Simon Cruanes
bac633d09d
test: add -j and other options to emit1 2022-07-05 15:03:30 -04:00
Simon Cruanes
f44351055a
Merge branch 'master' into wip-logs 2022-05-12 12:26:07 -04:00
Simon Cruanes
3f9bd94837
format 2022-05-12 11:54:06 -04:00
Simon Cruanes
b676783100
format 2022-05-05 12:09:19 -04:00
Simon Cruanes
5b3f49890b
test: use Metrics_callbacks from emit1 2022-04-29 16:50:52 -04:00
Simon Cruanes
9e19e323db
update example 2022-04-28 09:57:28 -04:00
Simon Cruanes
1bedb57123
feat: implement basic support for logs
also send them to the collector.
2022-04-28 09:57:28 -04:00
Simon Cruanes
1b1b980211
test: in emit1, use GC_metrics 2022-04-11 16:33:05 -04:00
Simon Cruanes
a9f17ef54b
refactor emit1 2022-03-28 09:36:21 -04:00