package opentelemetry

  1. Overview
  2. Docs

Opentelemetry types and instrumentation

module Lock : sig ... end

Global lock

module Rand_bytes : sig ... end

Generation of random identifiers

Wire format

module Proto : sig ... end

Protobuf types

Timestamps

module Timestamp_ns : sig ... end

Unix timestamp.

Interface to data collector

module Collector : sig ... end

Collector types

module Util_ : sig ... end

Identifiers

module Trace_id : sig ... end

Trace ID.

module Span_id : sig ... end

Unique ID of a span.

Attributes and conventions

module Conventions : sig ... end
type value = [
  1. | `Int of int
  2. | `String of string
  3. | `Bool of bool
  4. | `None
]
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.

module Span : sig ... end

Spans.

module Trace : sig ... end

Traces.

Metrics

module Metrics : sig ... end

Metrics.

module Logs : sig ... end

Logs.

module Metrics_callbacks : sig ... end

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

Utils

module Trace_context : sig ... end

Implementation of the W3C Trace Context spec

module GC_metrics : sig ... end

Export GC metrics.

OCaml

Innovation. Community. Security.