package opentelemetry
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=c3989bb678f57e5276209d3c60afb29cdca33122288de55e591fbbe2e50a662c
sha512=ba8339256c9b2d8c99c8304991a3047f280a01e492add4cf82bf1d43dfa51e790366c09c6901c0501b8b8e1f810c6e128e33dd33542d785013407f642ade4eea
doc/opentelemetry.proto/Opentelemetry_proto/Metrics_service/index.html
Module Opentelemetry_proto.Metrics_serviceSource
Code for metrics_service.proto
Types
type export_metrics_service_request = private {mutable resource_metrics : Metrics.resource_metrics list;
}type export_metrics_partial_success = private {mutable _presence : Pbrt.Bitfield.t;(*presence for 2 fields
*)mutable rejected_data_points : int64;mutable error_message : string;
}type export_metrics_service_response = private {mutable partial_success : export_metrics_partial_success option;
}Basic values
default_export_metrics_service_request () is a new empty value for type export_metrics_service_request
default_export_metrics_partial_success () is a new empty value for type export_metrics_partial_success
default_export_metrics_service_response () is a new empty value for type export_metrics_service_response
Make functions
val make_export_metrics_service_request :
?resource_metrics:Metrics.resource_metrics list ->
unit ->
export_metrics_service_requestmake_export_metrics_service_request … () is a builder for type export_metrics_service_request
val copy_export_metrics_service_request :
export_metrics_service_request ->
export_metrics_service_requestval export_metrics_service_request_set_resource_metrics :
export_metrics_service_request ->
Metrics.resource_metrics list ->
unitset field resource_metrics in export_metrics_service_request
val make_export_metrics_partial_success :
?rejected_data_points:int64 ->
?error_message:string ->
unit ->
export_metrics_partial_successmake_export_metrics_partial_success … () is a builder for type export_metrics_partial_success
val copy_export_metrics_partial_success :
export_metrics_partial_success ->
export_metrics_partial_successval export_metrics_partial_success_has_rejected_data_points :
export_metrics_partial_success ->
boolpresence of field "rejected_data_points" in export_metrics_partial_success
val export_metrics_partial_success_set_rejected_data_points :
export_metrics_partial_success ->
int64 ->
unitset field rejected_data_points in export_metrics_partial_success
presence of field "error_message" in export_metrics_partial_success
val export_metrics_partial_success_set_error_message :
export_metrics_partial_success ->
string ->
unitset field error_message in export_metrics_partial_success
val make_export_metrics_service_response :
?partial_success:export_metrics_partial_success ->
unit ->
export_metrics_service_responsemake_export_metrics_service_response … () is a builder for type export_metrics_service_response
val copy_export_metrics_service_response :
export_metrics_service_response ->
export_metrics_service_responseval export_metrics_service_response_set_partial_success :
export_metrics_service_response ->
export_metrics_partial_success ->
unitset field partial_success in export_metrics_service_response
Formatters
val pp_export_metrics_service_request :
Format.formatter ->
export_metrics_service_request ->
unitpp_export_metrics_service_request v formats v
val pp_export_metrics_partial_success :
Format.formatter ->
export_metrics_partial_success ->
unitpp_export_metrics_partial_success v formats v
val pp_export_metrics_service_response :
Format.formatter ->
export_metrics_service_response ->
unitpp_export_metrics_service_response v formats v
Protobuf Encoding
val encode_pb_export_metrics_service_request :
export_metrics_service_request ->
Pbrt.Encoder.t ->
unitencode_pb_export_metrics_service_request v encoder encodes v with the given encoder
val encode_pb_export_metrics_partial_success :
export_metrics_partial_success ->
Pbrt.Encoder.t ->
unitencode_pb_export_metrics_partial_success v encoder encodes v with the given encoder
val encode_pb_export_metrics_service_response :
export_metrics_service_response ->
Pbrt.Encoder.t ->
unitencode_pb_export_metrics_service_response v encoder encodes v with the given encoder
Protobuf Decoding
val decode_pb_export_metrics_service_request :
Pbrt.Decoder.t ->
export_metrics_service_requestdecode_pb_export_metrics_service_request decoder decodes a export_metrics_service_request binary value from decoder
val decode_pb_export_metrics_partial_success :
Pbrt.Decoder.t ->
export_metrics_partial_successdecode_pb_export_metrics_partial_success decoder decodes a export_metrics_partial_success binary value from decoder
val decode_pb_export_metrics_service_response :
Pbrt.Decoder.t ->
export_metrics_service_responsedecode_pb_export_metrics_service_response decoder decodes a export_metrics_service_response binary value from decoder
Protobuf YoJson Encoding
val encode_json_export_metrics_service_request :
export_metrics_service_request ->
Yojson.Basic.tencode_json_export_metrics_service_request v encoder encodes v to to json
val encode_json_export_metrics_partial_success :
export_metrics_partial_success ->
Yojson.Basic.tencode_json_export_metrics_partial_success v encoder encodes v to to json
val encode_json_export_metrics_service_response :
export_metrics_service_response ->
Yojson.Basic.tencode_json_export_metrics_service_response v encoder encodes v to to json
JSON Decoding
val decode_json_export_metrics_service_request :
Yojson.Basic.t ->
export_metrics_service_requestdecode_json_export_metrics_service_request decoder decodes a export_metrics_service_request value from decoder
val decode_json_export_metrics_partial_success :
Yojson.Basic.t ->
export_metrics_partial_successdecode_json_export_metrics_partial_success decoder decodes a export_metrics_partial_success value from decoder
val decode_json_export_metrics_service_response :
Yojson.Basic.t ->
export_metrics_service_responsedecode_json_export_metrics_service_response decoder decodes a export_metrics_service_response value from decoder