Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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.

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)

423
424
425
426
427
428
429
430
431
432
433
434
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 423

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>)

423
424
425
426
427
428
429
430
431
432
433
434
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 423

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)

423
424
425
426
427
428
429
430
431
432
433
434
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 423

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)

423
424
425
426
427
428
429
430
431
432
433
434
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 423

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)

423
424
425
426
427
428
429
430
431
432
433
434
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 423

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)

423
424
425
426
427
428
429
430
431
432
433
434
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 423

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)

423
424
425
426
427
428
429
430
431
432
433
434
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 423

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)

423
424
425
426
427
428
429
430
431
432
433
434
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 423

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