Class: Aws::ApplicationSignals::Types::RequestBasedServiceLevelIndicatorMetricConfig

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

Overview

Use this structure to specify the information for the metric that a period-based SLO will monitor.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key_attributesHash<String,String>

If this SLO is related to a metric collected by Application Signals, you must use this field to specify which service the SLO metric is related to. To do so, you must specify at least the ‘Type`, `Name`, and `Environment` attributes.

This is a string-to-string map. It can include the following fields.

  • ‘Type` designates the type of object this is.

  • ‘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>)


1444
1445
1446
1447
1448
1449
1450
1451
1452
# File 'lib/aws-sdk-applicationsignals/types.rb', line 1444

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

#metric_typeString

If the SLO is to monitor either the ‘LATENCY` or `AVAILABILITY` metric that Application Signals collects, use this field to specify which of those metrics is used.

Returns:

  • (String)


1444
1445
1446
1447
1448
1449
1450
1451
1452
# File 'lib/aws-sdk-applicationsignals/types.rb', line 1444

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

#monitored_request_count_metricTypes::MonitoredRequestCountMetricDataQueries

Use this structure to define the metric that you want to use as the “good request” or “bad request” value for a request-based SLO. This value observed for the metric defined in ‘TotalRequestCountMetric` will be divided by the number found for `MonitoredRequestCountMetric` to determine the percentage of successful requests that this SLO tracks.



1444
1445
1446
1447
1448
1449
1450
1451
1452
# File 'lib/aws-sdk-applicationsignals/types.rb', line 1444

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

#operation_nameString

If the SLO is to monitor a specific operation of the service, use this field to specify the name of that operation.

Returns:

  • (String)


1444
1445
1446
1447
1448
1449
1450
1451
1452
# File 'lib/aws-sdk-applicationsignals/types.rb', line 1444

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

#total_request_count_metricArray<Types::MetricDataQuery>

Use this structure to define the metric that you want to use as the “total requests” number for a request-based SLO. This result will be divided by the “good request” or “bad request” value defined in ‘MonitoredRequestCountMetric`.

Returns:



1444
1445
1446
1447
1448
1449
1450
1451
1452
# File 'lib/aws-sdk-applicationsignals/types.rb', line 1444

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