struct Openmetrics::Exemplar
 
  - Openmetrics::Exemplar
 - Struct
 - Value
 - Object
 
Included Modules
- Protobuf::Message
 
Defined in:
proto/openmetrics_data_model.pb.crConstant Summary
- 
        FIELDS = 
{1 => {name: :value, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :timestamp, 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}, 3 => {name: :label, pb_type: Label, crystal_type: Label, cast_type: Array(Label)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode) 
Constructors
- .new(buf : Protobuf::Buffer)
 - .new(value : Float64 | Nil = nil, timestamp : Google::Protobuf::Timestamp | Nil = nil, label : Array(Label) | Nil = nil)
 
Class Method Summary
Instance Method Summary
- #[](key : String)
 - #label : Array(Label) | Nil
 - #label=(label : Array(Label) | Nil)
 - #timestamp : Google::Protobuf::Timestamp | Nil
 - #timestamp=(timestamp : Google::Protobuf::Timestamp | Nil)
 - #to_protobuf(io : IO, embedded = false)
 - #to_protobuf
 - #value : Float64 | Nil
 - #value=(value : Float64 | Nil)
 
Constructor Detail
        
        def self.new(value : Float64 | Nil = nil, timestamp : Google::Protobuf::Timestamp | Nil = nil, label : Array(Label) | Nil = nil)
        #