package opentelemetry

  1. Overview
  2. Docs

Types

type status = {
  1. code : int32;
  2. message : bytes;
  3. details : bytes list;
}

Default values

val default_status : ?code:int32 -> ?message:bytes -> ?details:bytes list -> unit -> status

default_status () is the default value for type status

Formatters

val pp_status : Stdlib.Format.formatter -> Opentelemetry__.Status_types.status -> unit

pp_status v formats v

Protobuf Encoding

val encode_status : Opentelemetry__.Status_types.status -> Pbrt.Encoder.t -> unit

encode_status v encoder encodes v with the given encoder

Protobuf Decoding

val decode_status : Pbrt.Decoder.t -> Opentelemetry__.Status_types.status

decode_status decoder decodes a status value from decoder

OCaml

Innovation. Community. Security.