struct OpenTelemetry::Proto::Metrics::V1::Histogram

Included Modules

Defined in:

proto/metrics.pb.cr

Constant Summary

FIELDS = {1 => {name: :data_points, pb_type: HistogramDataPoint, crystal_type: HistogramDataPoint, cast_type: Array(HistogramDataPoint)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :aggregation_temporality, pb_type: AggregationTemporality, crystal_type: AggregationTemporality, cast_type: AggregationTemporality?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(data_points : Array(HistogramDataPoint) | Nil = nil, aggregation_temporality : AggregationTemporality | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def aggregation_temporality : AggregationTemporality | Nil #

def aggregation_temporality=(aggregation_temporality : AggregationTemporality | Nil) #

def data_points : Array(HistogramDataPoint) | Nil #

def data_points=(data_points : Array(HistogramDataPoint) | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #