Opentelemetry_proto.CommonCode for common.proto
type 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 = private {mutable _presence : Pbrt.Bitfield.t;presence for 1 fields
*)mutable key : string;mutable value : any_value option;}type instrumentation_scope = private {mutable _presence : Pbrt.Bitfield.t;presence for 3 fields
*)mutable name : string;mutable version : string;mutable attributes : key_value list;mutable dropped_attributes_count : int32;}type entity_ref = private {mutable _presence : Pbrt.Bitfield.t;presence for 2 fields
*)mutable schema_url : string;mutable type_ : string;mutable id_keys : string list;mutable description_keys : string list;}val default_any_value : unit -> any_valuedefault_any_value () is a new empty value for type any_value
val default_array_value : unit -> array_valuedefault_array_value () is a new empty value for type array_value
val default_key_value_list : unit -> key_value_listdefault_key_value_list () is a new empty value for type key_value_list
val default_key_value : unit -> key_valuedefault_key_value () is a new empty value for type key_value
val default_instrumentation_scope : unit -> instrumentation_scopedefault_instrumentation_scope () is a new empty value for type instrumentation_scope
val default_entity_ref : unit -> entity_refdefault_entity_ref () is a new empty value for type entity_ref
val make_array_value : ?values:any_value list -> unit -> array_valuemake_array_value … () is a builder for type array_value
val copy_array_value : array_value -> array_valueval array_value_set_values : array_value -> any_value list -> unitset field values in array_value
val make_key_value_list : ?values:key_value list -> unit -> key_value_listmake_key_value_list … () is a builder for type key_value_list
val copy_key_value_list : key_value_list -> key_value_listval key_value_list_set_values : key_value_list -> key_value list -> unitset field values in key_value_list
make_key_value … () is a builder for type key_value
val key_value_has_key : key_value -> boolpresence of field "key" in key_value
val key_value_set_key : key_value -> string -> unitset field key in key_value
val make_instrumentation_scope :
?name:string ->
?version:string ->
?attributes:key_value list ->
?dropped_attributes_count:int32 ->
unit ->
instrumentation_scopemake_instrumentation_scope … () is a builder for type instrumentation_scope
val copy_instrumentation_scope : instrumentation_scope -> instrumentation_scopeval instrumentation_scope_has_name : instrumentation_scope -> boolpresence of field "name" in instrumentation_scope
val instrumentation_scope_set_name : instrumentation_scope -> string -> unitset field name in instrumentation_scope
val instrumentation_scope_has_version : instrumentation_scope -> boolpresence of field "version" in instrumentation_scope
val instrumentation_scope_set_version : instrumentation_scope -> string -> unitset field version in instrumentation_scope
val instrumentation_scope_set_attributes :
instrumentation_scope ->
key_value list ->
unitset field attributes in instrumentation_scope
val instrumentation_scope_has_dropped_attributes_count :
instrumentation_scope ->
boolpresence of field "dropped_attributes_count" in instrumentation_scope
val instrumentation_scope_set_dropped_attributes_count :
instrumentation_scope ->
int32 ->
unitset field dropped_attributes_count in instrumentation_scope
val make_entity_ref :
?schema_url:string ->
?type_:string ->
?id_keys:string list ->
?description_keys:string list ->
unit ->
entity_refmake_entity_ref … () is a builder for type entity_ref
val copy_entity_ref : entity_ref -> entity_refval entity_ref_has_schema_url : entity_ref -> boolpresence of field "schema_url" in entity_ref
val entity_ref_set_schema_url : entity_ref -> string -> unitset field schema_url in entity_ref
val entity_ref_has_type_ : entity_ref -> boolpresence of field "type_" in entity_ref
val entity_ref_set_type_ : entity_ref -> string -> unitset field type_ in entity_ref
val entity_ref_set_id_keys : entity_ref -> string list -> unitset field id_keys in entity_ref
val entity_ref_set_description_keys : entity_ref -> string list -> unitset field description_keys in entity_ref
val pp_any_value : Stdlib.Format.formatter -> any_value -> unitpp_any_value v formats v
val pp_array_value : Stdlib.Format.formatter -> array_value -> unitpp_array_value v formats v
val pp_key_value_list : Stdlib.Format.formatter -> key_value_list -> unitpp_key_value_list v formats v
val pp_key_value : Stdlib.Format.formatter -> key_value -> unitpp_key_value v formats v
val pp_instrumentation_scope :
Stdlib.Format.formatter ->
instrumentation_scope ->
unitpp_instrumentation_scope v formats v
val pp_entity_ref : Stdlib.Format.formatter -> entity_ref -> unitpp_entity_ref v formats v
val encode_pb_any_value : any_value -> Pbrt.Encoder.t -> unitencode_pb_any_value v encoder encodes v with the given encoder
val encode_pb_array_value : array_value -> Pbrt.Encoder.t -> unitencode_pb_array_value v encoder encodes v with the given encoder
val encode_pb_key_value_list : key_value_list -> Pbrt.Encoder.t -> unitencode_pb_key_value_list v encoder encodes v with the given encoder
val encode_pb_key_value : key_value -> Pbrt.Encoder.t -> unitencode_pb_key_value v encoder encodes v with the given encoder
val encode_pb_instrumentation_scope :
instrumentation_scope ->
Pbrt.Encoder.t ->
unitencode_pb_instrumentation_scope v encoder encodes v with the given encoder
val encode_pb_entity_ref : entity_ref -> Pbrt.Encoder.t -> unitencode_pb_entity_ref v encoder encodes v with the given encoder
val decode_pb_any_value : Pbrt.Decoder.t -> any_valuedecode_pb_any_value decoder decodes a any_value binary value from decoder
val decode_pb_array_value : Pbrt.Decoder.t -> array_valuedecode_pb_array_value decoder decodes a array_value binary value from decoder
val decode_pb_key_value_list : Pbrt.Decoder.t -> key_value_listdecode_pb_key_value_list decoder decodes a key_value_list binary value from decoder
val decode_pb_key_value : Pbrt.Decoder.t -> key_valuedecode_pb_key_value decoder decodes a key_value binary value from decoder
val decode_pb_instrumentation_scope : Pbrt.Decoder.t -> instrumentation_scopedecode_pb_instrumentation_scope decoder decodes a instrumentation_scope binary value from decoder
val decode_pb_entity_ref : Pbrt.Decoder.t -> entity_refdecode_pb_entity_ref decoder decodes a entity_ref binary value from decoder