/AWS1/CL_CWSGOAL¶
This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
IO_INTERVAL
TYPE REF TO /AWS1/CL_CWSINTERVAL
/AWS1/CL_CWSINTERVAL
¶
The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.
If you omit this parameter, a rolling interval of 7 days is used.
IV_ATTAINMENTGOAL
TYPE /AWS1/RT_DOUBLE_AS_STRING
/AWS1/RT_DOUBLE_AS_STRING
¶
The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state.
If you omit this parameter, 99 is used to represent 99% as the attainment goal.
IV_WARNINGTHRESHOLD
TYPE /AWS1/RT_DOUBLE_AS_STRING
/AWS1/RT_DOUBLE_AS_STRING
¶
The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used.
Queryable Attributes¶
Interval¶
The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.
If you omit this parameter, a rolling interval of 7 days is used.
Accessible with the following methods¶
Method | Description |
---|---|
GET_INTERVAL() |
Getter for INTERVAL |
AttainmentGoal¶
The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state.
If you omit this parameter, 99 is used to represent 99% as the attainment goal.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ATTAINMENTGOAL() |
Getter for ATTAINMENTGOAL, with configurable default |
ASK_ATTAINMENTGOAL() |
Getter for ATTAINMENTGOAL w/ exceptions if field has no valu |
STR_ATTAINMENTGOAL() |
String format for ATTAINMENTGOAL, with configurable default |
HAS_ATTAINMENTGOAL() |
Determine if ATTAINMENTGOAL has a value |
WarningThreshold¶
The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used.
Accessible with the following methods¶
Method | Description |
---|---|
GET_WARNINGTHRESHOLD() |
Getter for WARNINGTHRESHOLD, with configurable default |
ASK_WARNINGTHRESHOLD() |
Getter for WARNINGTHRESHOLD w/ exceptions if field has no va |
STR_WARNINGTHRESHOLD() |
String format for WARNINGTHRESHOLD, with configurable defaul |
HAS_WARNINGTHRESHOLD() |
Determine if WARNINGTHRESHOLD has a value |