Opentelemetry_proto.ResourceSourceCode for resource.proto
type resource = private {mutable _presence : Pbrt.Bitfield.t;presence for 1 fields
*)mutable attributes : Common.key_value list;mutable dropped_attributes_count : int32;mutable entity_refs : Common.entity_ref list;}default_resource () is a new empty value for type resource
val make_resource :
?attributes:Common.key_value list ->
?dropped_attributes_count:int32 ->
?entity_refs:Common.entity_ref list ->
unit ->
resourcemake_resource … () is a builder for type resource
set field attributes in resource
presence of field "dropped_attributes_count" in resource
set field dropped_attributes_count in resource
set field entity_refs in resource
pp_resource v formats v
encode_pb_resource v encoder encodes v with the given encoder
decode_pb_resource decoder decodes a resource binary value from decoder
encode_json_resource v encoder encodes v to to json
decode_json_resource decoder decodes a resource value from decoder