struct Openmetrics::SummaryValue
- Openmetrics::SummaryValue
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
proto/openmetrics_data_model.pb.crConstant Summary
-
FIELDS =
{1 => {name: :double_value, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :int_value, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :count, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :created, pb_type: Google::Protobuf::Timestamp, crystal_type: Google::Protobuf::Timestamp, cast_type: Google::Protobuf::Timestamp?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :quantile, pb_type: SummaryValue::Quantile, crystal_type: SummaryValue::Quantile, cast_type: Array(SummaryValue::Quantile)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(double_value : Float64 | Nil = nil, int_value : Int64 | Nil = nil, count : UInt64 | Nil = nil, created : Google::Protobuf::Timestamp | Nil = nil, quantile : Array(SummaryValue::Quantile) | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #count : UInt64 | Nil
- #count=(count : UInt64 | Nil)
- #created : Google::Protobuf::Timestamp | Nil
- #created=(created : Google::Protobuf::Timestamp | Nil)
- #double_value : Float64 | Nil
- #double_value=(double_value : Float64 | Nil)
- #int_value : Int64 | Nil
- #int_value=(int_value : Int64 | Nil)
- #quantile : Array(SummaryValue::Quantile) | Nil
- #quantile=(quantile : Array(SummaryValue::Quantile) | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(double_value : Float64 | Nil = nil, int_value : Int64 | Nil = nil, count : UInt64 | Nil = nil, created : Google::Protobuf::Timestamp | Nil = nil, quantile : Array(SummaryValue::Quantile) | Nil = nil)
#