Commit graph

460 commits

Author SHA1 Message Date
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
28f750056f deps: Update ocaml-trace dep to 0.4 2023-09-20 14:45:39 +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
2be60c7ba6 tests: Add failing test for threaded implicit-scope 2023-09-19 23:57:42 +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
Corentin Leruth
329d45ee45 add get_url test with explicit config url 2023-09-13 15:18:13 -04:00
Simon Cruanes
a32e8638ee
chore: makefile 2023-09-13 14:19:09 -04:00
Simon Cruanes
af71df8daf
Merge pull request #43 from imandra-ai/wip-otel-1.0
move to otel 1.0
2023-09-07 22:46:28 -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
4af7b9bd9a
chore: migrate to OTEL proto files 1.0 2023-09-06 23:27:31 -04:00
Simon Cruanes
c915730833 CI: run on 5.0; run on every branch push 2023-08-31 23:44:16 -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
82e3e97f15 add PR number in changelog 2023-08-30 01:57:50 +00:00
Elliott Cable
155ceae6ae update changelog 2023-08-30 01:57:15 +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
6bf59ee21e deps: Follow @kit-ty-kate's advice
/see ocaml/opam-repository#24240
2023-08-29 01:39:42 +00:00
Elliott Cable
9a26bb5e8b deps: Require Trace >= 0.3 2023-08-29 01:33:10 +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
c82cd6d798 meta: Lock down the version of ocamlformat 2023-08-03 20:24:09 +00:00
Elliott Cable
9fd5fd8536 meta: Auto-format dune-project 2023-08-03 20:23:05 +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
a4ead618c5
prepare for 0.5 2023-06-26 15:04:54 -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
82e58d4108
Merge pull request #33 from imandra-ai/wip-simplify-ocurl-2023-06-15
simplify sync ocurl backend
2023-06-21 16:35:23 -04:00
Simon Cruanes
c016f00a27
restore ticker_thread feature 2023-06-21 14:23:04 -04:00
Simon Cruanes
64bd211ac7
ci 2023-06-20 13:16:21 -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
7507d6e297
dune warning 2023-06-20 10:31:26 -04:00
Simon Cruanes
4b62ec401a
CI 2023-06-19 23:09:02 -04:00
Simon Cruanes
e03be377f1
update test 2023-06-16 22:58:17 -04:00