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

Class: Aws::Lightsail::Types::MetricDatapoint

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

Overview

Describes the metric data point.

Instance Attribute Summary collapse

Instance Attribute Details

#average ⇒ Float

The average.

Returns:

  • (Float) —

    The average.

#maximum ⇒ Float

The maximum.

Returns:

  • (Float) —

    The maximum.

#minimum ⇒ Float

The minimum.

Returns:

  • (Float) —

    The minimum.

#sample_count ⇒ Float

The sample count.

Returns:

  • (Float) —

    The sample count.

#sum ⇒ Float

The sum.

Returns:

  • (Float) —

    The sum.

#timestamp ⇒ Time

The timestamp (e.g., 1479816991.349).

Returns:

  • (Time) —

    The timestamp (e.g., 1479816991.349).

#unit ⇒ String

The unit.

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 unit.