package opentelemetry

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Opentelemetry_core.ContextSource

The context used in OTEL operations, to carry the current trace, etc.

https://opentelemetry.io/docs/specs/otel/context/

Sourcetype t = Hmap.t

The context type. We use Hmap.t as it's standard and widely used.

Sourcetype 'a key = 'a Hmap.key
Sourceval set : 'a Hmap.key -> 'a -> Hmap.t -> Hmap.t
Sourceval get_exn : 'a key -> t -> 'a
Sourceval get : 'a key -> t -> 'a option
Sourceval new_key : unit -> 'a key