diff --git a/opentelemetry/Opentelemetry/Collector/index.html b/opentelemetry/Opentelemetry/Collector/index.html index 7c801f9c..d05d5a4d 100644 --- a/opentelemetry/Opentelemetry/Collector/index.html +++ b/opentelemetry/Opentelemetry/Collector/index.html @@ -1,5 +1,5 @@ -
Opentelemetry.CollectorCollector types
These types are used by backend implementations, to send events to collectors such as Jaeger.
Note: most users will not need to touch this module
Sender interface for a message of type msg. Inspired from Logs' reporter (see its doc) but without over as it doesn't make much sense in presence of batching.
The ret callback is used to return the desired type (unit, or a Lwt promise, or anything else) once the event has been transferred to the backend. It doesn't mean the event has been collected yet, it could sit in a batch queue for a little while.
module type BACKEND = sig ... endCollector client interface.
type backend = (module BACKEND)module Noop_backend : BACKENDmodule Debug_backend (B : BACKEND) : BACKENDval debug_backend : backendval set_backend : backend -> unitSet collector backend
val get_backend : unit -> backend optionCurrent backend, if any
val send_trace :
+Collector (opentelemetry.Opentelemetry.Collector) Module Opentelemetry.Collector
Collector types
These types are used by backend implementations, to send events to collectors such as Jaeger.
Note: most users will not need to touch this module
Sender interface for a message of type msg. Inspired from Logs' reporter (see its doc) but without over as it doesn't make much sense in presence of batching.
The ret callback is used to return the desired type (unit, or a Lwt promise, or anything else) once the event has been transferred to the backend. It doesn't mean the event has been collected yet, it could sit in a batch queue for a little while.
module type BACKEND = sig ... endCollector client interface.
type backend = (module BACKEND)module Noop_backend : BACKENDmodule Debug_backend (B : BACKEND) : BACKENDval debug_backend : backendval set_backend : backend -> unitSet collector backend
val get_backend : unit -> backend optionCurrent backend, if any
val send_trace :
Opentelemetry_proto.Trace.resource_spans list ->
ret:(unit -> 'a) ->
'aval send_metrics :
diff --git a/opentelemetry/Opentelemetry/Scope/index.html b/opentelemetry/Opentelemetry/Scope/index.html
index 0caf0da0..04a7209e 100644
--- a/opentelemetry/Opentelemetry/Scope/index.html
+++ b/opentelemetry/Opentelemetry/Scope/index.html
@@ -6,4 +6,4 @@
?attrs:key_value list ->
?links:Span_link.t list ->
unit ->
- tval to_span_ctx : t -> Span_ctx.tval record_exception : t -> exn -> Stdlib.Printexc.raw_backtrace -> unitval add_links : t -> (unit -> Span_link.t list) -> unitval ambient_scope_key : t {Ambient_context}2.keyval with_ambient_scope : t -> (unit -> 'a) -> 'a
+ tval to_span_ctx : t -> Span_ctx.tval record_exception : t -> exn -> Stdlib.Printexc.raw_backtrace -> unitval add_links : t -> (unit -> Span_link.t list) -> unitval ambient_scope_key : t {Ambient_context}3.keyval with_ambient_scope : t -> (unit -> 'a) -> 'a