/AWS1/CL_CWSSVCLEVELINDICATO02¶
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.
iv_metricname TYPE /AWS1/CWSMETRICNAME /AWS1/CWSMETRICNAME¶
The name of the CloudWatch metric to use for the SLO, when using a custom metric rather than Application Signals standard metrics.
iv_statistic TYPE /AWS1/CWSSVCLEVELINDICATORST00 /AWS1/CWSSVCLEVELINDICATORST00¶
The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic. For more information about statistics, see CloudWatch statistics definitions.
iv_periodseconds TYPE /AWS1/CWSSLIPERIODSECONDS /AWS1/CWSSLIPERIODSECONDS¶
The number of seconds to use as the period for SLO evaluation. Your application's performance is compared to the SLI during each period. For each period, the application is determined to have either achieved or not achieved the necessary performance.
it_metricdataqueries TYPE /AWS1/CL_CWSMETRICDATAQUERY=>TT_METRICDATAQUERIES TT_METRICDATAQUERIES¶
If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression.
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 |
MetricName¶
The name of the CloudWatch metric to use for the SLO, when using a custom metric rather than Application Signals standard metrics.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_METRICNAME() |
Getter for METRICNAME, with configurable default |
ASK_METRICNAME() |
Getter for METRICNAME w/ exceptions if field has no value |
HAS_METRICNAME() |
Determine if METRICNAME has a value |
Statistic¶
The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic. For more information about statistics, see CloudWatch statistics definitions.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATISTIC() |
Getter for STATISTIC, with configurable default |
ASK_STATISTIC() |
Getter for STATISTIC w/ exceptions if field has no value |
HAS_STATISTIC() |
Determine if STATISTIC has a value |
PeriodSeconds¶
The number of seconds to use as the period for SLO evaluation. Your application's performance is compared to the SLI during each period. For each period, the application is determined to have either achieved or not achieved the necessary performance.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PERIODSECONDS() |
Getter for PERIODSECONDS, with configurable default |
ASK_PERIODSECONDS() |
Getter for PERIODSECONDS w/ exceptions if field has no value |
HAS_PERIODSECONDS() |
Determine if PERIODSECONDS has a value |
MetricDataQueries¶
If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_METRICDATAQUERIES() |
Getter for METRICDATAQUERIES, with configurable default |
ASK_METRICDATAQUERIES() |
Getter for METRICDATAQUERIES w/ exceptions if field has no v |
HAS_METRICDATAQUERIES() |
Determine if METRICDATAQUERIES has a value |
DependencyConfig¶
Identifies the dependency using the
DependencyKeyAttributesandDependencyOperationName.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DEPENDENCYCONFIG() |
Getter for DEPENDENCYCONFIG |