You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudWatch::Types::Metric
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::Metric
- Defined in:
- (unknown)
Overview
Note:
When passing Metric as input to an Aws::Client method, you can use a vanilla Hash:
{
namespace: "Namespace",
metric_name: "MetricName",
dimensions: [
{
name: "DimensionName", # required
value: "DimensionValue", # required
},
],
}
Represents a specific metric.
Returned by:
Instance Attribute Summary collapse
-
#dimensions ⇒ Array<Types::Dimension>
The dimensions for the metric.
-
#metric_name ⇒ String
The name of the metric.
-
#namespace ⇒ String
The namespace of the metric.
Instance Attribute Details
#dimensions ⇒ Array<Types::Dimension>
The dimensions for the metric.
#metric_name ⇒ String
The name of the metric. This is a required field.
#namespace ⇒ String
The namespace of the metric.