mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 20:07:55 -04:00
port opentelemetry_client_ocurl_lwt to the consumer framework
This commit is contained in:
parent
a95037d7e2
commit
2a850b0329
3 changed files with 118 additions and 220 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
opentelemetry
|
opentelemetry
|
||||||
opentelemetry.atomic
|
opentelemetry.atomic
|
||||||
opentelemetry-client
|
opentelemetry-client
|
||||||
|
opentelemetry-client.lwt
|
||||||
pbrt
|
pbrt
|
||||||
mtime
|
mtime
|
||||||
mtime.clock.os
|
mtime.clock.os
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,8 @@
|
||||||
https://github.com/open-telemetry/oteps/blob/main/text/0099-otlp-http.md
|
https://github.com/open-telemetry/oteps/blob/main/text/0099-otlp-http.md
|
||||||
*)
|
*)
|
||||||
|
|
||||||
module OT = Opentelemetry
|
module Config = Config
|
||||||
open Opentelemetry
|
open Opentelemetry
|
||||||
open Opentelemetry_util
|
|
||||||
open Opentelemetry_client
|
open Opentelemetry_client
|
||||||
open Common_
|
open Common_
|
||||||
|
|
||||||
|
|
@ -17,40 +16,14 @@ external reraise : exn -> 'a = "%reraise"
|
||||||
(** This is equivalent to [Lwt.reraise]. We inline it here so we don't force to
|
(** This is equivalent to [Lwt.reraise]. We inline it here so we don't force to
|
||||||
use Lwt's latest version *)
|
use Lwt's latest version *)
|
||||||
|
|
||||||
type error =
|
type error = Export_error.t
|
||||||
[ `Status of int * Opentelemetry.Proto.Status.status
|
|
||||||
| `Failure of string
|
|
||||||
| `Sysbreak
|
|
||||||
]
|
|
||||||
|
|
||||||
|
(* TODO: emit this in a metric in [tick()] if self tracing is enabled? *)
|
||||||
let n_errors = Atomic.make 0
|
let n_errors = Atomic.make 0
|
||||||
|
|
||||||
let n_dropped = Atomic.make 0
|
let report_err_ = Export_error.report_err
|
||||||
|
|
||||||
let report_err_ = function
|
|
||||||
| `Sysbreak -> Printf.eprintf "opentelemetry: ctrl-c captured, stopping\n%!"
|
|
||||||
| `Failure msg ->
|
|
||||||
Format.eprintf "@[<2>opentelemetry: export failed: %s@]@." msg
|
|
||||||
| `Status
|
|
||||||
( code,
|
|
||||||
{
|
|
||||||
Opentelemetry.Proto.Status.code = scode;
|
|
||||||
message;
|
|
||||||
details;
|
|
||||||
_presence = _;
|
|
||||||
} ) ->
|
|
||||||
let pp_details out l =
|
|
||||||
List.iter
|
|
||||||
(fun s -> Format.fprintf out "%S;@ " (Bytes.unsafe_to_string s))
|
|
||||||
l
|
|
||||||
in
|
|
||||||
Format.eprintf
|
|
||||||
"@[<2>opentelemetry: export failed with@ http code=%d@ status \
|
|
||||||
{@[code=%ld;@ message=%S;@ details=[@[%a@]]@]}@]@."
|
|
||||||
code scode
|
|
||||||
(Bytes.unsafe_to_string message)
|
|
||||||
pp_details details
|
|
||||||
|
|
||||||
|
(** HTTP client *)
|
||||||
module Httpc : sig
|
module Httpc : sig
|
||||||
type t
|
type t
|
||||||
|
|
||||||
|
|
@ -68,24 +41,22 @@ end = struct
|
||||||
open Opentelemetry.Proto
|
open Opentelemetry.Proto
|
||||||
open Lwt.Syntax
|
open Lwt.Syntax
|
||||||
|
|
||||||
type t = unit
|
type t = Curl.t
|
||||||
|
|
||||||
let create () : t = ()
|
let create () : t = Ezcurl_core.make ()
|
||||||
|
|
||||||
let cleanup _self = ()
|
let cleanup self = Ezcurl_core.delete self
|
||||||
|
|
||||||
(* FIXME: absolutely need some rate limiting somewhere, ideally as early
|
|
||||||
as possible so we can measure how many resources we drop *)
|
|
||||||
|
|
||||||
(* send the content to the remote endpoint/path *)
|
(* send the content to the remote endpoint/path *)
|
||||||
let send (_self : t) ~url ~decode (bod : string) : ('a, error) result Lwt.t =
|
let send (self : t) ~url ~decode (bod : string) : ('a, error) result Lwt.t =
|
||||||
let* r =
|
let* r =
|
||||||
let headers =
|
let headers =
|
||||||
("Content-Type", "application/x-protobuf")
|
("Content-Type", "application/x-protobuf")
|
||||||
:: ("Accept", "application/x-protobuf")
|
:: ("Accept", "application/x-protobuf")
|
||||||
:: Config.Env.get_headers ()
|
:: Config.Env.get_headers ()
|
||||||
in
|
in
|
||||||
Ezcurl_lwt.post ~headers ~params:[] ~url ~content:(`String bod) ()
|
Ezcurl_lwt.post ~client:self ~headers ~params:[] ~url
|
||||||
|
~content:(`String bod) ()
|
||||||
in
|
in
|
||||||
match r with
|
match r with
|
||||||
| Error (code, msg) ->
|
| Error (code, msg) ->
|
||||||
|
|
@ -115,53 +86,36 @@ end = struct
|
||||||
in
|
in
|
||||||
Lwt.return r)
|
Lwt.return r)
|
||||||
| Ok { code; body; _ } ->
|
| Ok { code; body; _ } ->
|
||||||
let dec = Pbrt.Decoder.of_string body in
|
let err = Export_error.decode_invalid_http_response ~url ~code body in
|
||||||
|
Lwt.return (Error err)
|
||||||
let r =
|
|
||||||
try
|
|
||||||
let status = Status.decode_pb_status dec in
|
|
||||||
Error (`Status (code, status))
|
|
||||||
with e ->
|
|
||||||
let bt = Printexc.get_backtrace () in
|
|
||||||
Error
|
|
||||||
(`Failure
|
|
||||||
(spf
|
|
||||||
"httpc: decoding of status (url=%S, code=%d) failed with:\n\
|
|
||||||
%s\n\
|
|
||||||
status: %S\n\
|
|
||||||
%s"
|
|
||||||
url code (Printexc.to_string e) body bt))
|
|
||||||
in
|
|
||||||
Lwt.return r
|
|
||||||
end
|
end
|
||||||
|
|
||||||
module Exporter_impl = struct
|
module Consumer_impl = struct
|
||||||
|
module CNotifier = Opentelemetry_client_lwt.Notifier
|
||||||
open Lwt.Syntax
|
open Lwt.Syntax
|
||||||
|
|
||||||
let[@inline] push_to_batch b e =
|
|
||||||
if e <> [] then (
|
|
||||||
match Batch.push b e with
|
|
||||||
| `Ok -> ()
|
|
||||||
| `Dropped -> Atomic.incr n_dropped
|
|
||||||
)
|
|
||||||
|
|
||||||
type state = {
|
type state = {
|
||||||
stop: bool Atomic.t;
|
stop: bool Atomic.t;
|
||||||
cleaned: bool Atomic.t; (** True when we cleaned up after closing *)
|
cleaned: bool Atomic.t; (** True when we cleaned up after closing *)
|
||||||
config: Config.t;
|
config: Config.t;
|
||||||
encoder_pool: Pbrt.Encoder.t Rpool.t;
|
q: Any_resource.t Bounded_queue.t;
|
||||||
traces: Proto.Trace.span Batch.t;
|
notify: CNotifier.t;
|
||||||
logs: Proto.Logs.log_record Batch.t;
|
|
||||||
metrics: Proto.Metrics.metric Batch.t;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let send_http_ (st : state) (httpc : Httpc.t) ~url data : unit Lwt.t =
|
let shutdown self =
|
||||||
|
if not (Atomic.exchange self.stop true) then (
|
||||||
|
CNotifier.trigger self.notify;
|
||||||
|
CNotifier.delete self.notify
|
||||||
|
)
|
||||||
|
|
||||||
|
let send_http_ (self : state) (httpc : Httpc.t) ~url (data : string) :
|
||||||
|
unit Lwt.t =
|
||||||
let* r = Httpc.send httpc ~url ~decode:(`Ret ()) data in
|
let* r = Httpc.send httpc ~url ~decode:(`Ret ()) data in
|
||||||
match r with
|
match r with
|
||||||
| Ok () -> Lwt.return ()
|
| Ok () -> Lwt.return ()
|
||||||
| Error `Sysbreak ->
|
| Error `Sysbreak ->
|
||||||
Printf.eprintf "ctrl-c captured, stopping\n%!";
|
Printf.eprintf "ctrl-c captured, stopping\n%!";
|
||||||
Atomic.set st.stop true;
|
Atomic.set self.stop true;
|
||||||
Lwt.return ()
|
Lwt.return ()
|
||||||
| Error err ->
|
| Error err ->
|
||||||
(* TODO: log error _via_ otel? *)
|
(* TODO: log error _via_ otel? *)
|
||||||
|
|
@ -170,179 +124,113 @@ module Exporter_impl = struct
|
||||||
(* avoid crazy error loop *)
|
(* avoid crazy error loop *)
|
||||||
Lwt_unix.sleep 3.
|
Lwt_unix.sleep 3.
|
||||||
|
|
||||||
let send_metrics_http (st : state) client
|
let send_metrics_http (st : state) client ~encoder
|
||||||
(l : Proto.Metrics.resource_metrics list) =
|
(l : Proto.Metrics.resource_metrics list) =
|
||||||
let msg =
|
let msg = Signal.Encode.metrics ~encoder l in
|
||||||
let@ encoder = Rpool.with_resource st.encoder_pool in
|
Pbrt.Encoder.reset encoder;
|
||||||
Signal.Encode.metrics ~encoder l
|
|
||||||
in
|
|
||||||
send_http_ st client msg ~url:st.config.url_metrics
|
send_http_ st client msg ~url:st.config.url_metrics
|
||||||
|
|
||||||
let send_traces_http st client (l : Proto.Trace.resource_spans list) =
|
let send_traces_http st client ~encoder (l : Proto.Trace.resource_spans list)
|
||||||
let msg =
|
=
|
||||||
let@ encoder = Rpool.with_resource st.encoder_pool in
|
let msg = Signal.Encode.traces ~encoder l in
|
||||||
Signal.Encode.traces ~encoder l
|
Pbrt.Encoder.reset encoder;
|
||||||
in
|
|
||||||
send_http_ st client msg ~url:st.config.url_traces
|
send_http_ st client msg ~url:st.config.url_traces
|
||||||
|
|
||||||
let send_logs_http st client (l : Proto.Logs.resource_logs list) =
|
let send_logs_http st client ~encoder (l : Proto.Logs.resource_logs list) =
|
||||||
let msg =
|
let msg = Signal.Encode.logs ~encoder l in
|
||||||
let@ encoder = Rpool.with_resource st.encoder_pool in
|
Pbrt.Encoder.reset encoder;
|
||||||
Signal.Encode.logs ~encoder l
|
|
||||||
in
|
|
||||||
send_http_ st client msg ~url:st.config.url_logs
|
send_http_ st client msg ~url:st.config.url_logs
|
||||||
|
|
||||||
(* emit metrics, if the batch is full or timeout lapsed *)
|
let tick (self : state) = CNotifier.trigger self.notify
|
||||||
let emit_metrics_maybe (st : state) ~now ?force httpc : bool Lwt.t =
|
|
||||||
match Batch.pop_if_ready ?force ~now st.metrics with
|
|
||||||
| None -> Lwt.return false
|
|
||||||
| Some l ->
|
|
||||||
let res = Util_resources.make_resource_metrics l in
|
|
||||||
let+ () = send_metrics_http st httpc [ res ] in
|
|
||||||
true
|
|
||||||
|
|
||||||
let emit_traces_maybe st ~now ?force httpc : bool Lwt.t =
|
let start_worker (self : state) : unit =
|
||||||
match Batch.pop_if_ready ?force ~now st.traces with
|
let client = Httpc.create () in
|
||||||
| None -> Lwt.return false
|
let encoder = Pbrt.Encoder.create () in
|
||||||
| Some l ->
|
|
||||||
let res = Util_resources.make_resource_spans l in
|
|
||||||
let+ () = send_traces_http st httpc [ res ] in
|
|
||||||
true
|
|
||||||
|
|
||||||
let emit_logs_maybe st ~now ?force httpc : bool Lwt.t =
|
(* loop on [q] *)
|
||||||
match Batch.pop_if_ready ?force ~now st.logs with
|
let rec loop () : unit Lwt.t =
|
||||||
| None -> Lwt.return false
|
if Atomic.get self.stop then
|
||||||
| Some l ->
|
|
||||||
let res = Util_resources.make_resource_logs l in
|
|
||||||
let+ () = send_logs_http st httpc [ res ] in
|
|
||||||
true
|
|
||||||
|
|
||||||
let emit_all_force st (httpc : Httpc.t) : unit Lwt.t =
|
|
||||||
let now = Mtime_clock.now () in
|
|
||||||
let+ (_ : bool) = emit_traces_maybe st ~now ~force:true httpc
|
|
||||||
and+ (_ : bool) = emit_logs_maybe st ~now ~force:true httpc
|
|
||||||
and+ (_ : bool) = emit_metrics_maybe st ~now ~force:true httpc in
|
|
||||||
()
|
|
||||||
|
|
||||||
let[@inline] guard_exn_ where f =
|
|
||||||
try f ()
|
|
||||||
with e ->
|
|
||||||
let bt = Printexc.get_backtrace () in
|
|
||||||
Printf.eprintf
|
|
||||||
"opentelemetry-ocurl-lwt: uncaught exception in %s: %s\n%s\n%!" where
|
|
||||||
(Printexc.to_string e) bt
|
|
||||||
|
|
||||||
(* Lwt task that calls [tick()] regularly, to help enforce timeouts *)
|
|
||||||
let setup_ticker_ st ~tick ~finally () =
|
|
||||||
let rec tick_loop () =
|
|
||||||
if Atomic.get st.stop then (
|
|
||||||
finally ();
|
|
||||||
Lwt.return ()
|
Lwt.return ()
|
||||||
) else
|
|
||||||
let* () = Lwt_unix.sleep 0.5 in
|
|
||||||
let* () = tick () in
|
|
||||||
tick_loop ()
|
|
||||||
in
|
|
||||||
Lwt.async tick_loop
|
|
||||||
|
|
||||||
(* make an emitter.
|
|
||||||
|
|
||||||
exceptions inside should be caught, see
|
|
||||||
https://opentelemetry.io/docs/reference/specification/error-handling/ *)
|
|
||||||
let create ~stop ~(config : Config.t) () : OT.Exporter.t =
|
|
||||||
let open Proto in
|
|
||||||
let encoder_pool =
|
|
||||||
Rpool.create
|
|
||||||
~mk_item:(fun () -> Pbrt.Encoder.create ~size:1024 ())
|
|
||||||
~max_size:32 ~clear:Pbrt.Encoder.reset ()
|
|
||||||
in
|
|
||||||
|
|
||||||
(* local helpers *)
|
|
||||||
let timeout =
|
|
||||||
if config.batch_timeout_ms > 0 then
|
|
||||||
Some Mtime.Span.(config.batch_timeout_ms * ms)
|
|
||||||
else
|
else
|
||||||
None
|
let* () =
|
||||||
|
match Bounded_queue.try_pop self.q with
|
||||||
|
| `Closed ->
|
||||||
|
shutdown self;
|
||||||
|
Lwt.return ()
|
||||||
|
| `Empty -> CNotifier.wait self.notify
|
||||||
|
| `Item (R_logs logs) -> send_logs_http self client ~encoder logs
|
||||||
|
| `Item (R_metrics ms) -> send_metrics_http self client ~encoder ms
|
||||||
|
| `Item (R_spans spans) -> send_traces_http self client ~encoder spans
|
||||||
|
in
|
||||||
|
loop ()
|
||||||
in
|
in
|
||||||
|
|
||||||
let st =
|
Lwt.async (fun () ->
|
||||||
|
Lwt.finalize loop (fun () ->
|
||||||
|
Httpc.cleanup client;
|
||||||
|
Lwt.return ()))
|
||||||
|
|
||||||
|
let default_n_workers = 50
|
||||||
|
|
||||||
|
let create_state ~stop ~config ~q () : state =
|
||||||
|
let self =
|
||||||
{
|
{
|
||||||
stop;
|
stop;
|
||||||
config;
|
config;
|
||||||
|
q;
|
||||||
cleaned = Atomic.make false;
|
cleaned = Atomic.make false;
|
||||||
encoder_pool;
|
notify = CNotifier.create ();
|
||||||
traces = Batch.make ?batch:config.batch_traces ?timeout ();
|
|
||||||
metrics = Batch.make ?batch:config.batch_metrics ?timeout ();
|
|
||||||
logs = Batch.make ?batch:config.batch_logs ?timeout ();
|
|
||||||
}
|
}
|
||||||
in
|
in
|
||||||
let httpc = Httpc.create () in
|
|
||||||
let ticker = Cb_set.create () in
|
|
||||||
|
|
||||||
let tick_ () =
|
(* start workers *)
|
||||||
if Config.Env.get_debug () then
|
let n_workers =
|
||||||
Printf.eprintf "tick (from %d)\n%!" (Thread.id @@ Thread.self ());
|
min 2
|
||||||
Cb_set.trigger ticker;
|
(max 500
|
||||||
let now = Mtime_clock.now () in
|
(Option.value ~default:default_n_workers
|
||||||
let+ (_ : bool) = emit_traces_maybe st ~now httpc
|
config.http_concurrency_level))
|
||||||
and+ (_ : bool) = emit_logs_maybe st ~now httpc
|
|
||||||
and+ (_ : bool) = emit_metrics_maybe st ~now httpc in
|
|
||||||
()
|
|
||||||
in
|
in
|
||||||
|
for _i = 1 to n_workers do
|
||||||
|
start_worker self
|
||||||
|
done;
|
||||||
|
|
||||||
setup_ticker_ st ~tick:tick_ ~finally:ignore ();
|
self
|
||||||
|
|
||||||
(* we make sure that this is thread-safe, even though we don't have a
|
let to_consumer (self : state) : Any_resource.t Consumer.t =
|
||||||
background thread. There can still be a ticker thread, and there
|
let active () = not (Atomic.get self.stop) in
|
||||||
can also be several user threads that produce spans and call
|
let shutdown ~on_done =
|
||||||
the emit functions. *)
|
shutdown self;
|
||||||
object
|
on_done ()
|
||||||
method send_trace e =
|
in
|
||||||
let@ () = guard_exn_ "push trace" in
|
let tick () = tick self in
|
||||||
push_to_batch st.traces e;
|
{ active; tick; shutdown }
|
||||||
let now = Mtime_clock.now () in
|
|
||||||
Lwt.async (fun () ->
|
|
||||||
let+ (_ : bool) = emit_traces_maybe st ~now httpc in
|
|
||||||
())
|
|
||||||
|
|
||||||
method send_metrics e =
|
let consumer ~stop ~config () : Consumer.any_resource_builder =
|
||||||
let@ () = guard_exn_ "push metrics" in
|
{
|
||||||
push_to_batch st.metrics e;
|
start_consuming =
|
||||||
let now = Mtime_clock.now () in
|
(fun q ->
|
||||||
Lwt.async (fun () ->
|
let st = create_state ~stop ~config ~q () in
|
||||||
let+ (_ : bool) = emit_metrics_maybe st ~now httpc in
|
to_consumer st);
|
||||||
())
|
}
|
||||||
|
|
||||||
method send_logs e =
|
|
||||||
let@ () = guard_exn_ "push logs" in
|
|
||||||
push_to_batch st.logs e;
|
|
||||||
let now = Mtime_clock.now () in
|
|
||||||
Lwt.async (fun () ->
|
|
||||||
let+ (_ : bool) = emit_logs_maybe st ~now httpc in
|
|
||||||
())
|
|
||||||
|
|
||||||
method add_on_tick_callback f = Cb_set.register ticker f
|
|
||||||
|
|
||||||
(* if called in a blocking context: work in the background *)
|
|
||||||
method tick () = Lwt.async tick_
|
|
||||||
|
|
||||||
method cleanup ~on_done () =
|
|
||||||
if Config.Env.get_debug () then
|
|
||||||
Printf.eprintf "opentelemetry: exiting…\n%!";
|
|
||||||
Lwt.async (fun () ->
|
|
||||||
let* () = emit_all_force st httpc in
|
|
||||||
Httpc.cleanup httpc;
|
|
||||||
on_done ();
|
|
||||||
Lwt.return ())
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
let create_backend ?(stop = Atomic.make false) ?(config = Config.make ()) () =
|
let create_consumer ?(stop = Atomic.make false) ?(config = Config.make ()) () =
|
||||||
Exporter_impl.create ~stop ~config ()
|
Consumer_impl.consumer ~stop ~config ()
|
||||||
|
|
||||||
|
let create_exporter ?stop ?(config = Config.make ()) () =
|
||||||
|
let consumer = create_consumer ?stop ~config () in
|
||||||
|
let bq =
|
||||||
|
Bounded_queue_sync.create
|
||||||
|
~high_watermark:Bounded_queue.Defaults.high_watermark ()
|
||||||
|
in
|
||||||
|
Exporter_queued.create ~q:bq ~consumer ()
|
||||||
|
|> Exporter_add_batching.add_batching ~config
|
||||||
|
|
||||||
|
let create_backend = create_exporter
|
||||||
|
|
||||||
let setup_ ?stop ?config () : unit =
|
let setup_ ?stop ?config () : unit =
|
||||||
let exp = create_backend ?stop ?config () in
|
let exp = create_backend ?stop ?config () in
|
||||||
OT.Exporter.Main_exporter.set exp;
|
Main_exporter.set exp;
|
||||||
()
|
()
|
||||||
|
|
||||||
let setup ?stop ?config ?(enable = true) () =
|
let setup ?stop ?config ?(enable = true) () =
|
||||||
|
|
@ -350,9 +238,7 @@ let setup ?stop ?config ?(enable = true) () =
|
||||||
|
|
||||||
let remove_backend () : unit Lwt.t =
|
let remove_backend () : unit Lwt.t =
|
||||||
let done_fut, done_u = Lwt.wait () in
|
let done_fut, done_u = Lwt.wait () in
|
||||||
OT.Exporter.Main_exporter.remove
|
Main_exporter.remove ~on_done:(fun () -> Lwt.wakeup_later done_u ()) ();
|
||||||
~on_done:(fun () -> Lwt.wakeup_later done_u ())
|
|
||||||
();
|
|
||||||
done_fut
|
done_fut
|
||||||
|
|
||||||
let with_setup ?stop ?(config = Config.make ()) ?(enable = true) () f : _ Lwt.t
|
let with_setup ?stop ?(config = Config.make ()) ?(enable = true) () f : _ Lwt.t
|
||||||
|
|
|
||||||
|
|
@ -12,10 +12,21 @@ val set_headers : (string * string) list -> unit
|
||||||
|
|
||||||
module Config = Config
|
module Config = Config
|
||||||
|
|
||||||
val create_backend :
|
val create_consumer :
|
||||||
|
?stop:bool Atomic.t ->
|
||||||
|
?config:Config.t ->
|
||||||
|
unit ->
|
||||||
|
Opentelemetry_client.Consumer.any_resource_builder
|
||||||
|
(** Consumer that pulls from a queue *)
|
||||||
|
|
||||||
|
val create_exporter :
|
||||||
?stop:bool Atomic.t -> ?config:Config.t -> unit -> Opentelemetry.Exporter.t
|
?stop:bool Atomic.t -> ?config:Config.t -> unit -> Opentelemetry.Exporter.t
|
||||||
(** Create a new backend using lwt and ezcurl-lwt *)
|
(** Create a new backend using lwt and ezcurl-lwt *)
|
||||||
|
|
||||||
|
val create_backend :
|
||||||
|
?stop:bool Atomic.t -> ?config:Config.t -> unit -> Opentelemetry.Exporter.t
|
||||||
|
[@@deprecated "use create_exporter"]
|
||||||
|
|
||||||
val setup :
|
val setup :
|
||||||
?stop:bool Atomic.t -> ?config:Config.t -> ?enable:bool -> unit -> unit
|
?stop:bool Atomic.t -> ?config:Config.t -> ?enable:bool -> unit -> unit
|
||||||
(** Setup endpoint. This modifies {!Opentelemetry.Collector.backend}.
|
(** Setup endpoint. This modifies {!Opentelemetry.Collector.backend}.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue