diff --git a/trace/Trace/index.html b/trace/Trace/index.html index 997b2b5..9a085ca 100644 --- a/trace/Trace/index.html +++ b/trace/Trace/index.html @@ -49,7 +49,7 @@ ?data:(unit -> (string * user_data) list) -> string -> float -> - unit
Emit a counter of type float via metric. See counter_int for more details.
type collector = Collector.tAn event collector. See Collector for more details.
val setup_collector : collector -> unitsetup_collector c installs c as the current collector.
val get_current_level : unit -> Level.tGet current level. This is only meaningful if a collector was set up with setup_collector.
val set_current_level : Level.t -> unitSet the current level of tracing. This only has a visible effect if a collector was installed with setup_collector.
shutdown () shutdowns the current collector, if one was installed, and waits for it to terminate before returning.
val with_setup_collector : Collector.t -> (unit -> 'a) -> 'awith_setup_collector c f installs c, calls f(), and shutdowns c once f() is done.
val extension_event : ?level:Level.t -> extension_event -> unitTrigger an extension event, whose meaning depends on the library that defines it. Some collectors will simply ignore it. This does nothing if no collector is setup.
module Core_ext = Trace_core.Core_extEmit a counter of type float via metric. See counter_int for more details.
val current_span : unit -> span optionAccess the current span from some ambient scope, if supported. This is only supported if a Ambient_span_provider has been set up.
with_current_span_set_to span f sets the span as current span, enters f span, and restores the previous current span (if any).
This is only supported if a Ambient_span_provider has been set up, otherwise it is a no-op.
Automatically called by with_span.
type collector = Collector.tAn event collector. See Collector for more details.
val setup_collector : collector -> unitsetup_collector c installs c as the current collector.
val get_current_level : unit -> Level.tGet current level. This is only meaningful if a collector was set up with setup_collector.
val set_current_level : Level.t -> unitSet the current level of tracing. This only has a visible effect if a collector was installed with setup_collector.
shutdown () shutdowns the current collector, if one was installed, and waits for it to terminate before returning.
val with_setup_collector : Collector.t -> (unit -> 'a) -> 'awith_setup_collector c f installs c, calls f(), and shutdowns c once f() is done.
val extension_event : ?level:Level.t -> extension_event -> unitTrigger an extension event, whose meaning depends on the library that defines it. Some collectors will simply ignore it. This does nothing if no collector is setup.
module Core_ext = Trace_core.Core_extval enter_manual_span :
parent:explicit_span_ctx option ->
?flavor:[ `Sync | `Async ] ->
?level:Level.t ->
diff --git a/trace/Trace_core/index.html b/trace/Trace_core/index.html
index 4d39835..30a1d42 100644
--- a/trace/Trace_core/index.html
+++ b/trace/Trace_core/index.html
@@ -49,7 +49,7 @@
?data:(unit -> (string * user_data) list) ->
string ->
float ->
- unitEmit a counter of type float via metric. See counter_int for more details.
type collector = Collector.tAn event collector. See Collector for more details.
val setup_collector : collector -> unitsetup_collector c installs c as the current collector.
val get_current_level : unit -> Level.tGet current level. This is only meaningful if a collector was set up with setup_collector.
val set_current_level : Level.t -> unitSet the current level of tracing. This only has a visible effect if a collector was installed with setup_collector.
shutdown () shutdowns the current collector, if one was installed, and waits for it to terminate before returning.
val with_setup_collector : Collector.t -> (unit -> 'a) -> 'awith_setup_collector c f installs c, calls f(), and shutdowns c once f() is done.
val extension_event : ?level:Level.t -> extension_event -> unitTrigger an extension event, whose meaning depends on the library that defines it. Some collectors will simply ignore it. This does nothing if no collector is setup.
module Core_ext : sig ... endA few core extensions.
Emit a counter of type float via metric. See counter_int for more details.
val current_span : unit -> span optionAccess the current span from some ambient scope, if supported. This is only supported if a Ambient_span_provider has been set up.
with_current_span_set_to span f sets the span as current span, enters f span, and restores the previous current span (if any).
This is only supported if a Ambient_span_provider has been set up, otherwise it is a no-op.
Automatically called by with_span.
type collector = Collector.tAn event collector. See Collector for more details.
val setup_collector : collector -> unitsetup_collector c installs c as the current collector.
val get_current_level : unit -> Level.tGet current level. This is only meaningful if a collector was set up with setup_collector.
val set_current_level : Level.t -> unitSet the current level of tracing. This only has a visible effect if a collector was installed with setup_collector.
shutdown () shutdowns the current collector, if one was installed, and waits for it to terminate before returning.
val with_setup_collector : Collector.t -> (unit -> 'a) -> 'awith_setup_collector c f installs c, calls f(), and shutdowns c once f() is done.
val extension_event : ?level:Level.t -> extension_event -> unitTrigger an extension event, whose meaning depends on the library that defines it. Some collectors will simply ignore it. This does nothing if no collector is setup.
module Core_ext : sig ... endA few core extensions.
val enter_manual_span :
parent:explicit_span_ctx option ->
?flavor:[ `Sync | `Async ] ->
?level:Level.t ->
diff --git a/trace/Trace_core__Ambient_span_provider/index.html b/trace/Trace_core__Ambient_span_provider/index.html
new file mode 100644
index 0000000..55f6c07
--- /dev/null
+++ b/trace/Trace_core__Ambient_span_provider/index.html
@@ -0,0 +1,2 @@
+
+Trace_core__Ambient_span_provider (trace.Trace_core__Ambient_span_provider) Module Trace_core__Ambient_span_provider
This module is hidden.