You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatch/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 'gems/aws-sdk-cloudwatch/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 'gems/aws-sdk-cloudwatch/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 'gems/aws-sdk-cloudwatch/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 'gems/aws-sdk-cloudwatch/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 'gems/aws-sdk-cloudwatch/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 'gems/aws-sdk-cloudwatch/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 'gems/aws-sdk-cloudwatch/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 'gems/aws-sdk-cloudwatch/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