package opentelemetry

  1. Overview
  2. Docs
Instrumentation for https://opentelemetry.io

Install

Dune Dependency

Authors

Maintainers

Sources

opentelemetry-0.11.2.tbz
sha256=716a7407dcbb8d950295f55d2b72fec14bf122558972681d66b4a56352987c1c
sha512=4cdf5ffe31b6b03741734cda285ec8d5c261fafb7dff1c74e40472bc46ba0e97cb2df88a1557874482918303607e9ae21362ebc064985960bc002517e313d88c

doc/opentelemetry/Opentelemetry/index.html

Module OpentelemetrySource

Opentelemetry types and instrumentation

Sourcemodule Lock : sig ... end

Global lock.

Sourcemodule Rand_bytes : sig ... end

Generation of random identifiers.

Sourcemodule AList : sig ... end

Atomic list, for internal usage

Wire format

Protobuf types.

Timestamps

Sourcemodule Timestamp_ns : sig ... end

Unix timestamp.

Interface to data collector

Sourcemodule Collector : sig ... end

Collector types

Identifiers

Sourcemodule Trace_id : sig ... end

Trace ID.

Sourceval 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
Sourcemodule Span_id : sig ... end

Unique ID of a span.

Sourcemodule Span_ctx : sig ... end

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

Sourceval 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

Sourcemodule Conventions : sig ... end

Semantic conventions

Sourcetype 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

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.

Span Link

Sourcemodule Span_status : sig ... end
Sourcemodule Span_kind : sig ... end

Scopes

Sourcemodule Scope : sig ... end

Scopes.

Traces

Sourcemodule Span : sig ... end

Spans.

Sourcemodule Trace : sig ... end

Traces.

Metrics

Sourcemodule Metrics : sig ... end

Metrics.

Sourcemodule Metrics_callbacks : sig ... end

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

Logs

Sourcemodule Logs : sig ... end

Logs.

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.