lib/opentelemetry/proto/metrics/v1/metrics_pb.rb in opentelemetry-exporter-otlp-0.25.0 vs lib/opentelemetry/proto/metrics/v1/metrics_pb.rb in opentelemetry-exporter-otlp-0.26.0
- old
+ new
@@ -12,23 +12,17 @@
repeated :resource_metrics, :message, 1, "opentelemetry.proto.metrics.v1.ResourceMetrics"
end
add_message "opentelemetry.proto.metrics.v1.ResourceMetrics" do
optional :resource, :message, 1, "opentelemetry.proto.resource.v1.Resource"
repeated :scope_metrics, :message, 2, "opentelemetry.proto.metrics.v1.ScopeMetrics"
- repeated :instrumentation_library_metrics, :message, 1000, "opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics"
optional :schema_url, :string, 3
end
add_message "opentelemetry.proto.metrics.v1.ScopeMetrics" do
optional :scope, :message, 1, "opentelemetry.proto.common.v1.InstrumentationScope"
repeated :metrics, :message, 2, "opentelemetry.proto.metrics.v1.Metric"
optional :schema_url, :string, 3
end
- add_message "opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics" do
- optional :instrumentation_library, :message, 1, "opentelemetry.proto.common.v1.InstrumentationLibrary"
- repeated :metrics, :message, 2, "opentelemetry.proto.metrics.v1.Metric"
- optional :schema_url, :string, 3
- end
add_message "opentelemetry.proto.metrics.v1.Metric" do
optional :name, :string, 1
optional :description, :string, 2
optional :unit, :string, 3
oneof :data do
@@ -94,10 +88,11 @@
optional :negative, :message, 9, "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets"
optional :flags, :uint32, 10
repeated :exemplars, :message, 11, "opentelemetry.proto.metrics.v1.Exemplar"
proto3_optional :min, :double, 12
proto3_optional :max, :double, 13
+ optional :zero_threshold, :double, 14
end
add_message "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets" do
optional :offset, :sint32, 1
repeated :bucket_counts, :uint64, 2
end
@@ -128,12 +123,12 @@
value :AGGREGATION_TEMPORALITY_UNSPECIFIED, 0
value :AGGREGATION_TEMPORALITY_DELTA, 1
value :AGGREGATION_TEMPORALITY_CUMULATIVE, 2
end
add_enum "opentelemetry.proto.metrics.v1.DataPointFlags" do
- value :FLAG_NONE, 0
- value :FLAG_NO_RECORDED_VALUE, 1
+ value :DATA_POINT_FLAGS_DO_NOT_USE, 0
+ value :DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK, 1
end
end
end
module Opentelemetry
@@ -141,10 +136,9 @@
module Metrics
module V1
MetricsData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.MetricsData").msgclass
ResourceMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.ResourceMetrics").msgclass
ScopeMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.ScopeMetrics").msgclass
- InstrumentationLibraryMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics").msgclass
Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.Metric").msgclass
Gauge = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.Gauge").msgclass
Sum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.Sum").msgclass
Histogram = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.Histogram").msgclass
ExponentialHistogram = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.ExponentialHistogram").msgclass