Class: Aws::ApplicationSignals::Types::Dimension
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApplicationSignals::Types::Dimension
- Defined in:
- gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb
Overview
A dimension is a name/value pair that is part of the identity of a
metric. Because dimensions are part of the unique identifier for a
metric, whenever you add a unique name/value pair to one of your
metrics, you are creating a new variation of that metric. For example,
many Amazon EC2 metrics publish InstanceId
as a dimension name, and
the actual instance ID as the value for that dimension.
You can assign up to 30 dimensions to a metric.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the dimension.
-
#value ⇒ String
The value of the dimension.
Instance Attribute Details
#name ⇒ String
The name of the dimension. Dimension names must contain only ASCII
characters, must include at least one non-whitespace character, and
cannot start with a colon (:
). ASCII control characters are not
supported as part of dimension names.
227 228 229 230 231 232 |
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 227 class Dimension < Struct.new( :name, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values.
227 228 229 230 231 232 |
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 227 class Dimension < Struct.new( :name, :value) SENSITIVE = [] include Aws::Structure end |