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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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)

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

#extended_statisticsHash<String,Float>

The percentile statistic for the data point.

Returns:

  • (Hash<String,Float>)

    The percentile statistic for the data point.

#maximumFloat

The maximum metric value for the data point.

Returns:

  • (Float)

    The maximum metric value for the data point.

#minimumFloat

The minimum metric value for the data point.

Returns:

  • (Float)

    The minimum metric value for the data point.

#sample_countFloat

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

Returns:

  • (Float)

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

#sumFloat

The sum of the metric values for the data point.

Returns:

  • (Float)

    The sum of the metric values for the data point.

#timestampTime

The time stamp used for the data point.

Returns:

  • (Time)

    The time stamp used for the data point.

#unitString

The standard unit for the data point.

Possible values:

  • Seconds
  • Microseconds
  • Milliseconds
  • Bytes
  • Kilobytes
  • Megabytes
  • Gigabytes
  • Terabytes
  • Bits
  • Kilobits
  • Megabits
  • Gigabits
  • Terabits
  • Percent
  • Count
  • Bytes/Second
  • Kilobytes/Second
  • Megabytes/Second
  • Gigabytes/Second
  • Terabytes/Second
  • Bits/Second
  • Kilobits/Second
  • Megabits/Second
  • Gigabits/Second
  • Terabits/Second
  • Count/Second
  • None

Returns:

  • (String)

    The standard unit for the data point.