diff --git a/opentelemetry/Opentelemetry/Lock/index.html b/opentelemetry/Opentelemetry/Lock/index.html index 49de87f0..88f50489 100644 --- a/opentelemetry/Opentelemetry/Lock/index.html +++ b/opentelemetry/Opentelemetry/Lock/index.html @@ -1,2 +1,2 @@ -Lock (opentelemetry.Opentelemetry.Lock)

Module Opentelemetry.Lock

Global lock.

val set_mutex : lock:(unit -> unit) -> unlock:(unit -> unit) -> unit

Set a pair of lock/unlock functions that are used to protect access to global state, if needed. By default these do nothing.

val with_lock : (unit -> 'a) -> 'a

Call f() while holding the mutex defined set_mutex, then release the mutex.

+Lock (opentelemetry.Opentelemetry.Lock)

Module Opentelemetry.Lock

Global lock.

A global lock, modifiable by the user

val set_mutex : lock:(unit -> unit) -> unlock:(unit -> unit) -> unit

Set a pair of lock/unlock functions that are used to protect access to global state, if needed. By default these do nothing.

val with_lock : (unit -> 'a) -> 'a

Call f() while holding the mutex defined set_mutex, then release the mutex.

diff --git a/opentelemetry/Opentelemetry/Util_mutex/index.html b/opentelemetry/Opentelemetry/Util_mutex/index.html new file mode 100644 index 00000000..003d7f07 --- /dev/null +++ b/opentelemetry/Opentelemetry/Util_mutex/index.html @@ -0,0 +1,2 @@ + +Util_mutex (opentelemetry.Opentelemetry.Util_mutex)

Module Opentelemetry.Util_mutex

Utilities for internal usage.

val protect : Stdlib.Mutex.t -> (unit -> 'a) -> 'a
diff --git a/opentelemetry/Opentelemetry/index.html b/opentelemetry/Opentelemetry/index.html index 761b960d..d317ffdd 100644 --- a/opentelemetry/Opentelemetry/index.html +++ b/opentelemetry/Opentelemetry/index.html @@ -1,2 +1,2 @@ -Opentelemetry (opentelemetry.Opentelemetry)

Module Opentelemetry

Opentelemetry types and instrumentation

module Lock : sig ... end

Global lock.

module Rand_bytes : sig ... end

Generation of random identifiers.

module AList : sig ... end

Atomic list, for internal usage

Wire format

module Proto = Opentelemetry_proto

Protobuf types.

Timestamps

module Timestamp_ns : sig ... end

Unix timestamp.

Interface to data collector

module Collector : sig ... end

Collector types

Identifiers

module Trace_id : sig ... end

Trace ID.

val k_trace_id : Trace_id.t Hmap.key

Hmap key to carry around a Trace_id.t, to remember what the current trace is.

  • since 0.8
module Span_id : sig ... end

Unique ID of a span.

module Span_ctx : sig ... end

Span context. This bundles up a trace ID and parent ID.

val k_span_ctx : Span_ctx.t Hmap.key

Hmap key to carry around a Span_ctx.t, e.g. to remember what the current parent span is.

  • since 0.8

Attributes and conventions

module Conventions : sig ... end

Semantic conventions

type value = [
  1. | `Int of int
  2. | `String of string
  3. | `Bool of bool
  4. | `Float of float
  5. | `None
]

A value in a key/value attribute

type key_value = string * value

Global settings

module Globals : sig ... end

Process-wide metadata, environment variables, etc.

Traces and Spans

module Event : sig ... end

Events.

Span Link

module Span_status : sig ... end
module Span_kind : sig ... end

Scopes

module Scope : sig ... end

Scopes.

Traces

module Span : sig ... end

Spans.

module Trace : sig ... end

Traces.

Metrics

module Metrics : sig ... end

Metrics.

module Metrics_callbacks : sig ... end

A set of callbacks that produce metrics when called. The metrics are automatically called regularly.

Logs

module Logs : sig ... end

Logs.

Utils

module Trace_context : sig ... end

Implementation of the W3C Trace Context spec

module GC_metrics : sig ... end

Export GC metrics.

+Opentelemetry (opentelemetry.Opentelemetry)

Module Opentelemetry

Opentelemetry types and instrumentation

module Lock : sig ... end

Global lock.

module Rand_bytes : sig ... end

Generation of random identifiers.

module AList : sig ... end

Atomic list, for internal usage

module Util_mutex : sig ... end

Utilities for internal usage.

Wire format

module Proto = Opentelemetry_proto

Protobuf types.

Timestamps

module Timestamp_ns : sig ... end

Unix timestamp.

Interface to data collector

module Collector : sig ... end

Collector types

Identifiers

module Trace_id : sig ... end

Trace ID.

val k_trace_id : Trace_id.t Hmap.key

Hmap key to carry around a Trace_id.t, to remember what the current trace is.

  • since 0.8
module Span_id : sig ... end

Unique ID of a span.

module Span_ctx : sig ... end

Span context. This bundles up a trace ID and parent ID.

val k_span_ctx : Span_ctx.t Hmap.key

Hmap key to carry around a Span_ctx.t, e.g. to remember what the current parent span is.

  • since 0.8

Attributes and conventions

module Conventions : sig ... end

Semantic conventions

type value = [
  1. | `Int of int
  2. | `String of string
  3. | `Bool of bool
  4. | `Float of float
  5. | `None
]

A value in a key/value attribute

type key_value = string * value

Global settings

module Globals : sig ... end

Process-wide metadata, environment variables, etc.

Traces and Spans

module Event : sig ... end

Events.

Span Link

module Span_status : sig ... end
module Span_kind : sig ... end

Scopes

module Scope : sig ... end

Scopes.

Traces

module Span : sig ... end

Spans.

module Trace : sig ... end

Traces.

Metrics

module Metrics : sig ... end

Metrics.

module Metrics_callbacks : sig ... end

A set of callbacks that produce metrics when called. The metrics are automatically called regularly.

Logs

module Logs : sig ... end

Logs.

Utils

module Trace_context : sig ... end

Implementation of the W3C Trace Context spec

module GC_metrics : sig ... end

Export GC metrics.

diff --git a/opentelemetry/Opentelemetry__Util_mutex/index.html b/opentelemetry/Opentelemetry__Util_mutex/index.html new file mode 100644 index 00000000..130e83f4 --- /dev/null +++ b/opentelemetry/Opentelemetry__Util_mutex/index.html @@ -0,0 +1,2 @@ + +Opentelemetry__Util_mutex (opentelemetry.Opentelemetry__Util_mutex)

Module Opentelemetry__Util_mutex

This module is hidden.