Opentelemetry_core.Context
The context used in OTEL operations, to carry the current trace, etc.
https://opentelemetry.io/docs/specs/otel/context/
type t = Hmap.t
The context type. We use Hmap.t as it's standard and widely used.
Hmap.t
type 'a key = 'a Hmap.key
val set : 'a Hmap.key -> 'a -> Hmap.t -> Hmap.t
val get_exn : 'a key -> t -> 'a
Invalid_argument
if not present
val get : 'a key -> t -> 'a option
val new_key : unit -> 'a key