You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ComputeOptimizer::Types::ProjectedMetric
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizer::Types::ProjectedMetric
- Defined in:
- (unknown)
Overview
Describes a projected utilization metric of a recommendation option, such as an Amazon EC2 instance.
The Cpu
and Memory
metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics
action. Additionally, the Memory
metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the projected utilization metric.
-
#timestamps ⇒ Array<Time>
The time stamps of the projected utilization metric.
-
#values ⇒ Array<Float>
The values of the projected utilization metrics.
Instance Attribute Details
#name ⇒ String
The name of the projected utilization metric.
Possible values:
- Cpu
- Memory
- EBS_READ_OPS_PER_SECOND
- EBS_WRITE_OPS_PER_SECOND
- EBS_READ_BYTES_PER_SECOND
- EBS_WRITE_BYTES_PER_SECOND
#timestamps ⇒ Array<Time>
The time stamps of the projected utilization metric.
#values ⇒ Array<Float>
The values of the projected utilization metrics.