package opentelemetry

  1. Overview
  2. Docs

Types

type resource = {
  1. attributes : Opentelemetry__.Common_types.key_value list;
  2. dropped_attributes_count : int32;
}

Default values

val default_resource : ?attributes:Opentelemetry__.Common_types.key_value list -> ?dropped_attributes_count:int32 -> unit -> resource

default_resource () is the default value for type resource

Formatters

val pp_resource : Stdlib.Format.formatter -> Opentelemetry__.Resource_types.resource -> unit

pp_resource v formats v

Protobuf Encoding

val encode_resource : Opentelemetry__.Resource_types.resource -> Pbrt.Encoder.t -> unit

encode_resource v encoder encodes v with the given encoder

Protobuf Decoding

val decode_resource : Pbrt.Decoder.t -> Opentelemetry__.Resource_types.resource

decode_resource decoder decodes a resource value from decoder

OCaml

Innovation. Community. Security.