opentelemetry

Instrumentation for https://opentelemetry.io
Library opentelemetry

Types

type resource = {
attributes : Opentelemetry__Common_types.key_value list;
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 : 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