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

#averageFloat

The average.

Returns:

  • (Float)

    The average.

#maximumFloat

The maximum.

Returns:

  • (Float)

    The maximum.

#minimumFloat

The minimum.

Returns:

  • (Float)

    The minimum.

#sample_countFloat

The sample count.

Returns:

  • (Float)

    The sample count.

#sumFloat

The sum.

Returns:

  • (Float)

    The sum.

#timestampTime

The timestamp (e.g., 1479816991.349).

Returns:

  • (Time)

    The timestamp (e.g., 1479816991.349).

#unitString

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.