package opentelemetry

  1. Overview
  2. Docs

Module OpentelemetrySource

Opentelemetry types and instrumentation

Sourcemodule Thread_local : sig ... end

Thread/Domain local storage

Sourcemodule Lock : sig ... end

Global lock.

Sourcemodule Rand_bytes : sig ... end

Generation of random identifiers.

Wire format

Sourcemodule Proto : sig ... end

Protobuf types.

Timestamps

Sourcemodule Timestamp_ns : sig ... end

Unix timestamp.

Interface to data collector

Sourcemodule Collector : sig ... end

Collector types

Sourcemodule Util_ : sig ... end

Identifiers

Sourcemodule Trace_id : sig ... end

Trace ID.

Sourcemodule Span_id : sig ... end

Unique ID of a span.

Attributes and conventions

Sourcemodule Conventions : sig ... end
Sourcetype value = [
  1. | `Int of int
  2. | `String of string
  3. | `Bool of bool
  4. | `None
]
Sourcetype key_value = string * value

Global settings

Sourcemodule Globals : sig ... end

Process-wide metadata, environment variables, etc.

Traces and Spans

Sourcemodule Event : sig ... end

Events.

Scopes

Sourcemodule Scope : sig ... end

Scopes.

Span Link

Sourcemodule Span : sig ... end

Spans.

Sourcemodule Trace : sig ... end

Traces.

Metrics

Sourcemodule Metrics : sig ... end

Metrics.

Sourcemodule Logs : sig ... end

Logs.

Sourcemodule Metrics_callbacks : sig ... end

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

Utils

Sourcemodule Trace_context : sig ... end

Implementation of the W3C Trace Context spec

Sourcemodule GC_metrics : sig ... end

Export GC metrics.

OCaml

Innovation. Community. Security.