struct OpenTelemetry::Proto::Metrics::V1::ExponentialHistogramDataPoint::Buckets

Included Modules

Defined in:

proto/metrics.pb.cr

Constant Summary

FIELDS = {1 => {name: :offset, pb_type: :sint32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :bucket_counts, pb_type: :uint64, crystal_type: UInt64, cast_type: Array(UInt64)?, native: true, optional: true, repeated: true, 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(offset : Int32 | Nil = nil, bucket_counts : Array(UInt64) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def bucket_counts : Array(UInt64) | Nil #

def bucket_counts=(bucket_counts : Array(UInt64) | Nil) #

def offset : Int32 | Nil #

def offset=(offset : Int32 | Nil) #

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

def to_protobuf #