/AWS1/CL_CWSREQBASEDSVCLEVEL03¶
Use this structure to specify the information for the metric that a period-based SLO will monitor.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
it_keyattributes TYPE /AWS1/CL_CWSATTRIBUTES_W=>TT_ATTRIBUTES TT_ATTRIBUTES¶
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, andEnvironmentattributes.This is a string-to-string map. It can include the following fields.
Typedesignates the type of object this is.
ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource.
Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service.
Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource.
Environmentspecifies the location where this object is hosted, or what it belongs to.
iv_operationname TYPE /AWS1/CWSOPERATIONNAME /AWS1/CWSOPERATIONNAME¶
If the SLO is to monitor a specific operation of the service, use this field to specify the name of that operation.
iv_metrictype TYPE /AWS1/CWSSVCLEVELINDICATORME00 /AWS1/CWSSVCLEVELINDICATORME00¶
If the SLO is to monitor either the
LATENCYorAVAILABILITYmetric that Application Signals collects, use this field to specify which of those metrics is used.
it_totalrequestcountmetric TYPE /AWS1/CL_CWSMETRICDATAQUERY=>TT_METRICDATAQUERIES TT_METRICDATAQUERIES¶
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.
io_moniedrequestcountmetric TYPE REF TO /AWS1/CL_CWSMONIEDREQCTMETRI00 /AWS1/CL_CWSMONIEDREQCTMETRI00¶
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
TotalRequestCountMetricwill be divided by the number found forMonitoredRequestCountMetricto determine the percentage of successful requests that this SLO tracks.
io_dependencyconfig TYPE REF TO /AWS1/CL_CWSDEPENDENCYCONFIG /AWS1/CL_CWSDEPENDENCYCONFIG¶
Identifies the dependency using the
DependencyKeyAttributesandDependencyOperationName.
Queryable Attributes¶
KeyAttributes¶
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, andEnvironmentattributes.This is a string-to-string map. It can include the following fields.
Typedesignates the type of object this is.
ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource.
Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service.
Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource.
Environmentspecifies the location where this object is hosted, or what it belongs to.
Accessible with the following methods¶
| Method | Description | 
|---|---|
| GET_KEYATTRIBUTES() | Getter for KEYATTRIBUTES, with configurable default | 
| ASK_KEYATTRIBUTES() | Getter for KEYATTRIBUTES w/ exceptions if field has no value | 
| HAS_KEYATTRIBUTES() | Determine if KEYATTRIBUTES has a value | 
OperationName¶
If the SLO is to monitor a specific operation of the service, use this field to specify the name of that operation.
Accessible with the following methods¶
| Method | Description | 
|---|---|
| GET_OPERATIONNAME() | Getter for OPERATIONNAME, with configurable default | 
| ASK_OPERATIONNAME() | Getter for OPERATIONNAME w/ exceptions if field has no value | 
| HAS_OPERATIONNAME() | Determine if OPERATIONNAME has a value | 
MetricType¶
If the SLO is to monitor either the
LATENCYorAVAILABILITYmetric that Application Signals collects, use this field to specify which of those metrics is used.
Accessible with the following methods¶
| Method | Description | 
|---|---|
| GET_METRICTYPE() | Getter for METRICTYPE, with configurable default | 
| ASK_METRICTYPE() | Getter for METRICTYPE w/ exceptions if field has no value | 
| HAS_METRICTYPE() | Determine if METRICTYPE has a value | 
TotalRequestCountMetric¶
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.
Accessible with the following methods¶
| Method | Description | 
|---|---|
| GET_TOTALREQUESTCOUNTMETRIC() | Getter for TOTALREQUESTCOUNTMETRIC, with configurable defaul | 
| ASK_TOTALREQUESTCOUNTMETRIC() | Getter for TOTALREQUESTCOUNTMETRIC w/ exceptions if field ha | 
| HAS_TOTALREQUESTCOUNTMETRIC() | Determine if TOTALREQUESTCOUNTMETRIC has a value | 
MonitoredRequestCountMetric¶
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
TotalRequestCountMetricwill be divided by the number found forMonitoredRequestCountMetricto determine the percentage of successful requests that this SLO tracks.
Accessible with the following methods¶
| Method | Description | 
|---|---|
| GET_MONIEDREQUESTCOUNTMETRIC() | Getter for MONITOREDREQUESTCOUNTMETRIC | 
DependencyConfig¶
Identifies the dependency using the
DependencyKeyAttributesandDependencyOperationName.
Accessible with the following methods¶
| Method | Description | 
|---|---|
| GET_DEPENDENCYCONFIG() | Getter for DEPENDENCYCONFIG |