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 Proto = Opentelemetry_proto
Protobuf types.
module Timestamp_ns : sig ... end
Unix timestamp.
module Collector : sig ... end
Collector types
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.
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.
module Conventions : sig ... end
Semantic conventions
A value in a key/value attribute
type key_value = string * value
module Globals : sig ... end
Process-wide metadata, environment variables, etc.
module Event : sig ... end
Events.
module Span_link : sig ... end
Span Link
module Span_status : sig ... end
module Scope : sig ... end
Scopes.
module Span : sig ... end
Spans.
module Trace : sig ... end
Traces.
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.
module Logs : sig ... end
Logs.
module Trace_context : sig ... end
Implementation of the W3C Trace Context spec
module GC_metrics : sig ... end
Export GC metrics.