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

#average ⇒ Float

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_statistics ⇒ Hash<String,Float>

The percentile statistic for the data point.

Returns:

  • (Hash<String,Float>) —

    The percentile statistic for the data point.

#maximum ⇒ Float

The maximum metric value for the data point.

Returns:

  • (Float) —

    The maximum metric value for the data point.

#minimum ⇒ Float

The minimum metric value for the data point.

Returns:

  • (Float) —

    The minimum metric value for the data point.

#sample_count ⇒ Float

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.

#sum ⇒ Float

The sum of the metric values for the data point.

Returns:

  • (Float) —

    The sum of the metric values for the data point.

#timestamp ⇒ Time

The time stamp used for the data point.

Returns:

  • (Time) —

    The time stamp used for the data point.

#unit ⇒ String

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.