mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
fix: move to ezcurl 0.3
This commit is contained in:
parent
731cc79fcb
commit
4edac68be5
3 changed files with 10 additions and 4 deletions
|
|
@ -40,7 +40,10 @@
|
|||
(>= 3.0)
|
||||
(< 4.0)))
|
||||
(ocaml-lsp-server :with-dev-setup)
|
||||
(ambient-context (and (>= 0.2) (< 0.3)))
|
||||
(ambient-context
|
||||
(and
|
||||
(>= 0.2)
|
||||
(< 0.3)))
|
||||
(ocamlformat
|
||||
(and
|
||||
:with-dev-setup
|
||||
|
|
@ -84,7 +87,9 @@
|
|||
(= :version))
|
||||
(odoc :with-doc)
|
||||
(ezcurl
|
||||
(>= 0.2.3))
|
||||
(and
|
||||
(>= 0.3)
|
||||
(< 0.4)))
|
||||
ocurl
|
||||
(alcotest :with-test))
|
||||
(synopsis "Collector client for opentelemetry, using http + ezcurl"))
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ depends: [
|
|||
"mtime" {>= "1.4"}
|
||||
"opentelemetry" {= version}
|
||||
"odoc" {with-doc}
|
||||
"ezcurl" {>= "0.2.3"}
|
||||
"ezcurl" {>= "0.3" & < "0.4"}
|
||||
"ocurl"
|
||||
"alcotest" {with-test}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -131,7 +131,8 @@ end = struct
|
|||
mutable send_threads: Thread.t array; (** Threads that send data via http *)
|
||||
}
|
||||
|
||||
let send_http_ ~stop ~(config : Config.t) (client : Curl.t) ~url data : unit =
|
||||
let send_http_ ~stop ~(config : Config.t) (client : Ezcurl_core.t) ~url data :
|
||||
unit =
|
||||
let@ _sc =
|
||||
Self_trace.with_ ~kind:Span.Span_kind_producer "otel-ocurl.send-http"
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue