Class: Aws::ApplicationSignals::Types::RequestBasedServiceLevelIndicatorMetric

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 request-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>)


1376
1377
1378
1379
1380
1381
1382
1383
1384
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 1376

class RequestBasedServiceLevelIndicatorMetric < 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 monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.

Returns:

  • (String)


1376
1377
1378
1379
1380
1381
1382
1383
1384
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 1376

class RequestBasedServiceLevelIndicatorMetric < 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

This structure defines the metric that is used as the "good request" or "bad request" value for a request-based SLO. This value observed for the metric defined in TotalRequestCountMetric is divided by the number found for MonitoredRequestCountMetric to determine the percentage of successful requests that this SLO tracks.



1376
1377
1378
1379
1380
1381
1382
1383
1384
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 1376

class RequestBasedServiceLevelIndicatorMetric < 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 monitors a specific operation of the service, this field displays that operation name.

Returns:

  • (String)


1376
1377
1378
1379
1380
1381
1382
1383
1384
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 1376

class RequestBasedServiceLevelIndicatorMetric < 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>

This structure defines the metric that is used as the "total requests" number for a request-based SLO. The number observed for this metric is divided by the number of "good requests" or "bad requests" that is observed for the metric defined in MonitoredRequestCountMetric.

Returns:



1376
1377
1378
1379
1380
1381
1382
1383
1384
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 1376

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