class
Amazonite::CloudWatch::Datapoint
- Amazonite::CloudWatch::Datapoint
- Reference
- Object
Overview
Encapsulates the statistical data that CloudWatch computes from metric data.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/datapoint.crConstructors
- .new(pull : JSON::PullParser)
- .new(timestamp : Time | Nil = nil, sample_count : Float64 | Nil = nil, average : Float64 | Nil = nil, sum : Float64 | Nil = nil, minimum : Float64 | Nil = nil, maximum : Float64 | Nil = nil, unit : StandardUnit | Nil = nil, extended_statistics : Hash(String, Float64) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#average : Float64 | Nil
The average of the metric values that correspond to the data point.
-
#average=(average : Float64 | Nil)
The average of the metric values that correspond to the data point.
-
#extended_statistics : Hash(String, Float64) | Nil
The percentile statistic for the data point.
-
#extended_statistics=(extended_statistics : Hash(String, Float64) | Nil)
The percentile statistic for the data point.
-
#hash(hasher)
See
Object#hash(hasher) -
#maximum : Float64 | Nil
The maximum metric value for the data point.
-
#maximum=(maximum : Float64 | Nil)
The maximum metric value for the data point.
-
#minimum : Float64 | Nil
The minimum metric value for the data point.
-
#minimum=(minimum : Float64 | Nil)
The minimum metric value for the data point.
-
#sample_count : Float64 | Nil
The number of metric values that contributed to the aggregate value of this data point.
-
#sample_count=(sample_count : Float64 | Nil)
The number of metric values that contributed to the aggregate value of this data point.
-
#sum : Float64 | Nil
The sum of the metric values for the data point.
-
#sum=(sum : Float64 | Nil)
The sum of the metric values for the data point.
-
#timestamp : Time | Nil
The time stamp used for the data point.
-
#timestamp=(timestamp : Time | Nil)
The time stamp used for the data point.
-
#unit : StandardUnit | Nil
The standard unit for the data point.
-
#unit=(unit : StandardUnit | Nil)
The standard unit for the data point.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The average of the metric values that correspond to the data point.
The percentile statistic for the data point.
The percentile statistic for the data point.
The number of metric values that contributed to the aggregate value of this data point.
The number of metric values that contributed to the aggregate value of this data point.