struct Openmetrics::HistogramValue::Bucket

Included Modules

Defined in:

proto/openmetrics_data_model.pb.cr

Constant Summary

FIELDS = {1 => {name: :count, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :upper_bound, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :exemplar, pb_type: Exemplar, crystal_type: Exemplar, cast_type: Exemplar?, 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(count : UInt64 | Nil = nil, upper_bound : Float64 | Nil = nil, exemplar : Exemplar | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def count : UInt64 | Nil #

def count=(count : UInt64 | Nil) #

def exemplar : Exemplar | Nil #

def exemplar=(exemplar : Exemplar | Nil) #

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

def to_protobuf #

def upper_bound : Float64 | Nil #

def upper_bound=(upper_bound : Float64 | Nil) #