Class: Aws::CloudWatch::Types::Datapoint

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatch/types.rb

Overview

Encapsulates the statistical data that CloudWatch computes from metric data.

Instance Attribute Summary collapse

Instance Attribute Details

#averageFloat

The average of the metric values that correspond to the data point.

Returns:

  • (Float)


130
131
132
133
134
135
136
137
138
139
140
# File 'lib/aws-sdk-cloudwatch/types.rb', line 130

class Datapoint < Struct.new(
  :timestamp,
  :sample_count,
  :average,
  :sum,
  :minimum,
  :maximum,
  :unit,
  :extended_statistics)
  include Aws::Structure
end

#extended_statisticsHash<String,Float>

The percentile statistic for the data point.

Returns:

  • (Hash<String,Float>)


130
131
132
133
134
135
136
137
138
139
140
# File 'lib/aws-sdk-cloudwatch/types.rb', line 130

class Datapoint < Struct.new(
  :timestamp,
  :sample_count,
  :average,
  :sum,
  :minimum,
  :maximum,
  :unit,
  :extended_statistics)
  include Aws::Structure
end

#maximumFloat

The maximum metric value for the data point.

Returns:

  • (Float)


130
131
132
133
134
135
136
137
138
139
140
# File 'lib/aws-sdk-cloudwatch/types.rb', line 130

class Datapoint < Struct.new(
  :timestamp,
  :sample_count,
  :average,
  :sum,
  :minimum,
  :maximum,
  :unit,
  :extended_statistics)
  include Aws::Structure
end

#minimumFloat

The minimum metric value for the data point.

Returns:

  • (Float)


130
131
132
133
134
135
136
137
138
139
140
# File 'lib/aws-sdk-cloudwatch/types.rb', line 130

class Datapoint < Struct.new(
  :timestamp,
  :sample_count,
  :average,
  :sum,
  :minimum,
  :maximum,
  :unit,
  :extended_statistics)
  include Aws::Structure
end

#sample_countFloat

The number of metric values that contributed to the aggregate value of this data point.

Returns:

  • (Float)


130
131
132
133
134
135
136
137
138
139
140
# File 'lib/aws-sdk-cloudwatch/types.rb', line 130

class Datapoint < Struct.new(
  :timestamp,
  :sample_count,
  :average,
  :sum,
  :minimum,
  :maximum,
  :unit,
  :extended_statistics)
  include Aws::Structure
end

#sumFloat

The sum of the metric values for the data point.

Returns:

  • (Float)


130
131
132
133
134
135
136
137
138
139
140
# File 'lib/aws-sdk-cloudwatch/types.rb', line 130

class Datapoint < Struct.new(
  :timestamp,
  :sample_count,
  :average,
  :sum,
  :minimum,
  :maximum,
  :unit,
  :extended_statistics)
  include Aws::Structure
end

#timestampTime

The time stamp used for the data point.

Returns:

  • (Time)


130
131
132
133
134
135
136
137
138
139
140
# File 'lib/aws-sdk-cloudwatch/types.rb', line 130

class Datapoint < Struct.new(
  :timestamp,
  :sample_count,
  :average,
  :sum,
  :minimum,
  :maximum,
  :unit,
  :extended_statistics)
  include Aws::Structure
end

#unitString

The standard unit for the data point.

Returns:

  • (String)


130
131
132
133
134
135
136
137
138
139
140
# File 'lib/aws-sdk-cloudwatch/types.rb', line 130

class Datapoint < Struct.new(
  :timestamp,
  :sample_count,
  :average,
  :sum,
  :minimum,
  :maximum,
  :unit,
  :extended_statistics)
  include Aws::Structure
end