Class: Aws::ApplicationSignals::Types::Metric

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-applicationsignals/types.rb

Overview

This structure defines the metric used for a service level indicator, including the metric name, namespace, and dimensions

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dimensionsArray<Types::Dimension>

An array of one or more dimensions to use to define the metric that you want to use. For more information, see [Dimensions].

[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension

Returns:



1002
1003
1004
1005
1006
1007
1008
# File 'lib/aws-sdk-applicationsignals/types.rb', line 1002

class Metric < Struct.new(
  :namespace,
  :metric_name,
  :dimensions)
  SENSITIVE = []
  include Aws::Structure
end

#metric_nameString

The name of the metric to use.

Returns:

  • (String)


1002
1003
1004
1005
1006
1007
1008
# File 'lib/aws-sdk-applicationsignals/types.rb', line 1002

class Metric < Struct.new(
  :namespace,
  :metric_name,
  :dimensions)
  SENSITIVE = []
  include Aws::Structure
end

#namespaceString

Returns:

  • (String)


1002
1003
1004
1005
1006
1007
1008
# File 'lib/aws-sdk-applicationsignals/types.rb', line 1002

class Metric < Struct.new(
  :namespace,
  :metric_name,
  :dimensions)
  SENSITIVE = []
  include Aws::Structure
end