Opentelemetry_proto.CommonSourceCode 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;}default_any_value () is a new empty value for type any_value
default_array_value () is a new empty value for type array_value
default_key_value_list () is a new empty value for type key_value_list
default_key_value () is a new empty value for type key_value
default_instrumentation_scope () is a new empty value for type instrumentation_scope
default_entity_ref () is a new empty value for type entity_ref
make_array_value … () is a builder for type array_value
set field values in array_value
make_key_value_list … () is a builder for type key_value_list
set field values in key_value_list
make_key_value … () is a builder for type 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
presence of field "name" in instrumentation_scope
set field name in instrumentation_scope
presence of field "version" in instrumentation_scope
set field version in instrumentation_scope
set field attributes in instrumentation_scope
presence 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
presence of field "schema_url" in entity_ref
set field schema_url in entity_ref
presence of field "type_" in entity_ref
set field type_ in entity_ref
set field id_keys in entity_ref
set field description_keys in entity_ref
pp_any_value v formats v
pp_array_value v formats v
pp_key_value_list v formats v
pp_key_value v formats v
pp_instrumentation_scope v formats v
pp_entity_ref v formats v
encode_pb_any_value v encoder encodes v with the given encoder
encode_pb_array_value v encoder encodes v with the given encoder
encode_pb_key_value_list v encoder encodes v with the given encoder
encode_pb_key_value v encoder encodes v with the given encoder
encode_pb_instrumentation_scope v encoder encodes v with the given encoder
encode_pb_entity_ref v encoder encodes v with the given encoder
decode_pb_any_value decoder decodes a any_value binary value from decoder
decode_pb_array_value decoder decodes a array_value binary value from decoder
decode_pb_key_value_list decoder decodes a key_value_list binary value from decoder
decode_pb_key_value decoder decodes a key_value binary value from decoder
decode_pb_instrumentation_scope decoder decodes a instrumentation_scope binary value from decoder
decode_pb_entity_ref decoder decodes a entity_ref binary value from decoder
encode_json_any_value v encoder encodes v to to json
encode_json_array_value v encoder encodes v to to json
encode_json_key_value_list v encoder encodes v to to json
encode_json_key_value v encoder encodes v to to json
encode_json_instrumentation_scope v encoder encodes v to to json
encode_json_entity_ref v encoder encodes v to to json
decode_json_any_value decoder decodes a any_value value from decoder
decode_json_array_value decoder decodes a array_value value from decoder
decode_json_key_value_list decoder decodes a key_value_list value from decoder
decode_json_key_value decoder decodes a key_value value from decoder
decode_json_instrumentation_scope decoder decodes a instrumentation_scope value from decoder
decode_json_entity_ref decoder decodes a entity_ref value from decoder