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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#averageFloat

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

Returns:

  • (Float)


410
411
412
413
414
415
416
417
418
419
420
421
# File 'lib/aws-sdk-cloudwatch/types.rb', line 410

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

#extended_statisticsHash<String,Float>

The percentile statistic for the data point.

Returns:

  • (Hash<String,Float>)


410
411
412
413
414
415
416
417
418
419
420
421
# File 'lib/aws-sdk-cloudwatch/types.rb', line 410

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

#maximumFloat

The maximum metric value for the data point.

Returns:

  • (Float)


410
411
412
413
414
415
416
417
418
419
420
421
# File 'lib/aws-sdk-cloudwatch/types.rb', line 410

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

#minimumFloat

The minimum metric value for the data point.

Returns:

  • (Float)


410
411
412
413
414
415
416
417
418
419
420
421
# File 'lib/aws-sdk-cloudwatch/types.rb', line 410

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

#sample_countFloat

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

Returns:

  • (Float)


410
411
412
413
414
415
416
417
418
419
420
421
# File 'lib/aws-sdk-cloudwatch/types.rb', line 410

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

#sumFloat

The sum of the metric values for the data point.

Returns:

  • (Float)


410
411
412
413
414
415
416
417
418
419
420
421
# File 'lib/aws-sdk-cloudwatch/types.rb', line 410

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

#timestampTime

The time stamp used for the data point.

Returns:

  • (Time)


410
411
412
413
414
415
416
417
418
419
420
421
# File 'lib/aws-sdk-cloudwatch/types.rb', line 410

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

#unitString

The standard unit for the data point.

Returns:

  • (String)


410
411
412
413
414
415
416
417
418
419
420
421
# File 'lib/aws-sdk-cloudwatch/types.rb', line 410

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