class Aws::CloudWatch::Types::Metric
Represents a specific metric.
@note When making an API call, you may pass Metric
data as a hash: { namespace: "Namespace", metric_name: "MetricName", dimensions: [ { name: "DimensionName", # required value: "DimensionValue", # required }, ], }
@!attribute [rw] namespace
The namespace of the metric. @return [String]
@!attribute [rw] metric_name
The name of the metric. This is a required field. @return [String]
@!attribute [rw] dimensions
The dimensions for the metric. @return [Array<Types::Dimension>]
@see docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Metric AWS API Documentation
Constants
- SENSITIVE