package opentelemetry
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=281bb075de20663233709e67aec9dc95d75ec9b09a7e52e5c07557ff2cb89b17
sha512=4d7f07bd628dec23cb1b5171fe2012364b1720beb9cf3a5b74e9e6c0eae5777a0907deafdab08f18546c45b26eaf777ac9913753b1fa185b6554efe171595d8d
doc/opentelemetry.proto/Opentelemetry_proto/Common/index.html
Module Opentelemetry_proto.CommonSource
Code for common.proto
Types
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 bytes
Basic values
default_any_value () is the default value for type any_value
default_array_value () is the default value for type array_value
default_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
Make functions
make_array_value … () is a builder for type array_value
make_key_value_list … () is a builder for type 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
Formatters
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
Protobuf Encoding
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
Protobuf Decoding
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