Proto.Commoninclude module type of struct include Opentelemetry_proto.Common_types endtype any_value = Opentelemetry_proto.Common_types.any_value = | String_value of string| Bool_value of bool| Int_value of int64| Double_value of float| Array_value of array_value| Kvlist_value of key_value_list| Bytes_value of bytesand key_value = Opentelemetry_proto.Common_types.key_value = {key : string;value : any_value option;}type instrumentation_scope =
Opentelemetry_proto.Common_types.instrumentation_scope =
{name : string;version : string;attributes : key_value list;dropped_attributes_count : int32;}val default_any_value : unit -> any_valuedefault_any_value () is the default value for type any_value
val default_array_value : ?values:any_value list -> unit -> array_valuedefault_array_value () is the default value for type array_value
val default_key_value_list : ?values:key_value list -> unit -> key_value_listdefault_key_value_list () is the default value for type key_value_list
default_key_value () is the default value for type key_value
val default_instrumentation_scope :
?name:string ->
?version:string ->
?attributes:key_value list ->
?dropped_attributes_count:int32 ->
unit ->
instrumentation_scopedefault_instrumentation_scope () is the default value for type instrumentation_scope
include module type of struct include Opentelemetry_proto.Common_pp endval pp_any_value :
Stdlib.Format.formatter ->
Opentelemetry_proto.Common_types.any_value ->
unitpp_any_value v formats v
val pp_array_value :
Stdlib.Format.formatter ->
Opentelemetry_proto.Common_types.array_value ->
unitpp_array_value v formats v
val pp_key_value_list :
Stdlib.Format.formatter ->
Opentelemetry_proto.Common_types.key_value_list ->
unitpp_key_value_list v formats v
val pp_key_value :
Stdlib.Format.formatter ->
Opentelemetry_proto.Common_types.key_value ->
unitpp_key_value v formats v
val pp_instrumentation_scope :
Stdlib.Format.formatter ->
Opentelemetry_proto.Common_types.instrumentation_scope ->
unitpp_instrumentation_scope v formats v
include module type of struct include Opentelemetry_proto.Common_pb endval encode_any_value :
Opentelemetry_proto.Common_types.any_value ->
Pbrt.Encoder.t ->
unitencode_any_value v encoder encodes v with the given encoder
val encode_array_value :
Opentelemetry_proto.Common_types.array_value ->
Pbrt.Encoder.t ->
unitencode_array_value v encoder encodes v with the given encoder
val encode_key_value_list :
Opentelemetry_proto.Common_types.key_value_list ->
Pbrt.Encoder.t ->
unitencode_key_value_list v encoder encodes v with the given encoder
val encode_key_value :
Opentelemetry_proto.Common_types.key_value ->
Pbrt.Encoder.t ->
unitencode_key_value v encoder encodes v with the given encoder
val encode_instrumentation_scope :
Opentelemetry_proto.Common_types.instrumentation_scope ->
Pbrt.Encoder.t ->
unitencode_instrumentation_scope v encoder encodes v with the given encoder
val decode_any_value :
Pbrt.Decoder.t ->
Opentelemetry_proto.Common_types.any_valuedecode_any_value decoder decodes a any_value value from decoder
val decode_array_value :
Pbrt.Decoder.t ->
Opentelemetry_proto.Common_types.array_valuedecode_array_value decoder decodes a array_value value from decoder
val decode_key_value_list :
Pbrt.Decoder.t ->
Opentelemetry_proto.Common_types.key_value_listdecode_key_value_list decoder decodes a key_value_list value from decoder
val decode_key_value :
Pbrt.Decoder.t ->
Opentelemetry_proto.Common_types.key_valuedecode_key_value decoder decodes a key_value value from decoder
val decode_instrumentation_scope :
Pbrt.Decoder.t ->
Opentelemetry_proto.Common_types.instrumentation_scopedecode_instrumentation_scope decoder decodes a instrumentation_scope value from decoder