package opentelemetry

  1. Overview
  2. Docs
Instrumentation for https://opentelemetry.io

Install

Dune Dependency

Authors

Maintainers

Sources

opentelemetry-0.11.1.tbz
sha256=0e289b62046daba6427d87276dba52c7d2adfc3d85723d29b3d97141ae522853
sha512=754ef48ee2883f5927dd0e6dcc28dfb2d8faee98be5952578f48515f58898063b6bc7a137bc68d9fbee2e5a8897c7af035e700e53ff202a6df79e74e1aeaf6d4

doc/opentelemetry.proto/Opentelemetry_proto/Metrics_service/index.html

Module Opentelemetry_proto.Metrics_serviceSource

Code for metrics_service.proto

Types

Sourcetype export_metrics_service_request = {
  1. resource_metrics : Metrics.resource_metrics list;
}
Sourcetype export_metrics_partial_success = {
  1. rejected_data_points : int64;
  2. error_message : string;
}
Sourcetype export_metrics_service_response = {
  1. partial_success : export_metrics_partial_success option;
}

Basic values

Sourceval default_export_metrics_service_request : ?resource_metrics:Metrics.resource_metrics list -> unit -> export_metrics_service_request

default_export_metrics_service_request () is the default value for type export_metrics_service_request

Sourceval default_export_metrics_partial_success : ?rejected_data_points:int64 -> ?error_message:string -> unit -> export_metrics_partial_success

default_export_metrics_partial_success () is the default value for type export_metrics_partial_success

Sourceval default_export_metrics_service_response : ?partial_success:export_metrics_partial_success option -> unit -> export_metrics_service_response

default_export_metrics_service_response () is the default value for type export_metrics_service_response

Make functions

Sourceval make_export_metrics_service_request : resource_metrics:Metrics.resource_metrics list -> unit -> export_metrics_service_request

make_export_metrics_service_request … () is a builder for type export_metrics_service_request

Sourceval make_export_metrics_partial_success : rejected_data_points:int64 -> error_message:string -> unit -> export_metrics_partial_success

make_export_metrics_partial_success … () is a builder for type export_metrics_partial_success

Sourceval make_export_metrics_service_response : ?partial_success:export_metrics_partial_success option -> unit -> export_metrics_service_response

make_export_metrics_service_response … () is a builder for type export_metrics_service_response

Formatters

Sourceval pp_export_metrics_service_request : Format.formatter -> export_metrics_service_request -> unit

pp_export_metrics_service_request v formats v

Sourceval pp_export_metrics_partial_success : Format.formatter -> export_metrics_partial_success -> unit

pp_export_metrics_partial_success v formats v

Sourceval pp_export_metrics_service_response : Format.formatter -> export_metrics_service_response -> unit

pp_export_metrics_service_response v formats v

Protobuf Encoding

Sourceval encode_pb_export_metrics_service_request : export_metrics_service_request -> Pbrt.Encoder.t -> unit

encode_pb_export_metrics_service_request v encoder encodes v with the given encoder

Sourceval encode_pb_export_metrics_partial_success : export_metrics_partial_success -> Pbrt.Encoder.t -> unit

encode_pb_export_metrics_partial_success v encoder encodes v with the given encoder

Sourceval encode_pb_export_metrics_service_response : export_metrics_service_response -> Pbrt.Encoder.t -> unit

encode_pb_export_metrics_service_response v encoder encodes v with the given encoder

Protobuf Decoding

Sourceval decode_pb_export_metrics_service_request : Pbrt.Decoder.t -> export_metrics_service_request

decode_pb_export_metrics_service_request decoder decodes a export_metrics_service_request binary value from decoder

Sourceval decode_pb_export_metrics_partial_success : Pbrt.Decoder.t -> export_metrics_partial_success

decode_pb_export_metrics_partial_success decoder decodes a export_metrics_partial_success binary value from decoder

Sourceval decode_pb_export_metrics_service_response : Pbrt.Decoder.t -> export_metrics_service_response

decode_pb_export_metrics_service_response decoder decodes a export_metrics_service_response binary value from decoder

OCaml

Innovation. Community. Security.