struct OpenTelemetry::Proto::Metrics::V1::ExponentialHistogramDataPoint
- OpenTelemetry::Proto::Metrics::V1::ExponentialHistogramDataPoint
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
proto/metrics.pb.crConstant Summary
-
FIELDS =
{1 => {name: :attributes, pb_type: OpenTelemetry::Proto::Common::V1::KeyValue, crystal_type: OpenTelemetry::Proto::Common::V1::KeyValue, cast_type: Array(OpenTelemetry::Proto::Common::V1::KeyValue)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :start_time_unix_nano, pb_type: :fixed64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :time_unix_nano, pb_type: :fixed64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :count, pb_type: :fixed64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :sum, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :scale, pb_type: :sint32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :zero_count, pb_type: :fixed64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :positive, pb_type: ExponentialHistogramDataPoint::Buckets, crystal_type: ExponentialHistogramDataPoint::Buckets, cast_type: ExponentialHistogramDataPoint::Buckets?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :negative, pb_type: ExponentialHistogramDataPoint::Buckets, crystal_type: ExponentialHistogramDataPoint::Buckets, cast_type: ExponentialHistogramDataPoint::Buckets?, native: false, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :flags, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :exemplars, pb_type: Exemplar, crystal_type: Exemplar, cast_type: Array(Exemplar)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 12 => {name: :min, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :max, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(attributes : Array(OpenTelemetry::Proto::Common::V1::KeyValue) | Nil = nil, start_time_unix_nano : UInt64 | Nil = nil, time_unix_nano : UInt64 | Nil = nil, count : UInt64 | Nil = nil, sum : Float64 | Nil = nil, scale : Int32 | Nil = nil, zero_count : UInt64 | Nil = nil, positive : ExponentialHistogramDataPoint::Buckets | Nil = nil, negative : ExponentialHistogramDataPoint::Buckets | Nil = nil, flags : UInt32 | Nil = nil, exemplars : Array(Exemplar) | Nil = nil, min : Float64 | Nil = nil, max : Float64 | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #attributes : Array(OpenTelemetry::Proto::Common::V1::KeyValue) | Nil
- #attributes=(attributes : Array(OpenTelemetry::Proto::Common::V1::KeyValue) | Nil)
- #count : UInt64 | Nil
- #count=(count : UInt64 | Nil)
- #exemplars : Array(Exemplar) | Nil
- #exemplars=(exemplars : Array(Exemplar) | Nil)
- #flags : UInt32 | Nil
- #flags=(flags : UInt32 | Nil)
- #max : Float64 | Nil
- #max=(max : Float64 | Nil)
- #min : Float64 | Nil
- #min=(min : Float64 | Nil)
- #negative : ExponentialHistogramDataPoint::Buckets | Nil
- #negative=(negative : ExponentialHistogramDataPoint::Buckets | Nil)
- #positive : ExponentialHistogramDataPoint::Buckets | Nil
- #positive=(positive : ExponentialHistogramDataPoint::Buckets | Nil)
- #scale : Int32 | Nil
- #scale=(scale : Int32 | Nil)
- #start_time_unix_nano : UInt64 | Nil
- #start_time_unix_nano=(start_time_unix_nano : UInt64 | Nil)
- #sum : Float64 | Nil
- #sum=(sum : Float64 | Nil)
- #time_unix_nano : UInt64 | Nil
- #time_unix_nano=(time_unix_nano : UInt64 | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #zero_count : UInt64 | Nil
- #zero_count=(zero_count : UInt64 | Nil)
Constructor Detail
def self.new(attributes : Array(OpenTelemetry::Proto::Common::V1::KeyValue) | Nil = nil, start_time_unix_nano : UInt64 | Nil = nil, time_unix_nano : UInt64 | Nil = nil, count : UInt64 | Nil = nil, sum : Float64 | Nil = nil, scale : Int32 | Nil = nil, zero_count : UInt64 | Nil = nil, positive : ExponentialHistogramDataPoint::Buckets | Nil = nil, negative : ExponentialHistogramDataPoint::Buckets | Nil = nil, flags : UInt32 | Nil = nil, exemplars : Array(Exemplar) | Nil = nil, min : Float64 | Nil = nil, max : Float64 | Nil = nil)
#