Class: Aws::ApplicationSignals::Types::ServiceLevelIndicatorMetric

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

Overview

This structure contains the information about the metric that is used for a period-based SLO.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key_attributesHash<String,String>

This is a string-to-string map that contains information about the type of object that this SLO is related to. It can include the following fields.

  • Type designates the type of object that this SLO is related to.

  • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource.

  • Name specifies the name of the object. This is used only if the value of the Type field is Service, RemoteService, or AWS::Service.

  • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource.

  • Environment specifies the location where this object is hosted, or what it belongs to.

Returns:

  • (Hash<String,String>)


1770
1771
1772
1773
1774
1775
1776
1777
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 1770

class ServiceLevelIndicatorMetric < Struct.new(
  :key_attributes,
  :operation_name,
  :metric_type,
  :metric_data_queries)
  SENSITIVE = []
  include Aws::Structure
end

#metric_data_queriesArray<Types::MetricDataQuery>

If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, this structure includes the information about that metric or expression.

Returns:



1770
1771
1772
1773
1774
1775
1776
1777
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 1770

class ServiceLevelIndicatorMetric < Struct.new(
  :key_attributes,
  :operation_name,
  :metric_type,
  :metric_data_queries)
  SENSITIVE = []
  include Aws::Structure
end

#metric_typeString

If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.

Returns:

  • (String)


1770
1771
1772
1773
1774
1775
1776
1777
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 1770

class ServiceLevelIndicatorMetric < Struct.new(
  :key_attributes,
  :operation_name,
  :metric_type,
  :metric_data_queries)
  SENSITIVE = []
  include Aws::Structure
end

#operation_nameString

If the SLO monitors a specific operation of the service, this field displays that operation name.

Returns:

  • (String)


1770
1771
1772
1773
1774
1775
1776
1777
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 1770

class ServiceLevelIndicatorMetric < Struct.new(
  :key_attributes,
  :operation_name,
  :metric_type,
  :metric_data_queries)
  SENSITIVE = []
  include Aws::Structure
end