/AWS1/CL_COPCUSTIZABLEMETRIC00¶
Defines the various metric parameters that can be customized, such as threshold and headroom.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_threshold TYPE /AWS1/COPCUSTIZABLEMETRICTHRSH /AWS1/COPCUSTIZABLEMETRICTHRSH¶
The threshold value used for the specified metric parameter.
You can only specify the threshold value for CPU utilization.
iv_headroom TYPE /AWS1/COPCUSTIZABLEMETRICHEA00 /AWS1/COPCUSTIZABLEMETRICHEA00¶
The headroom value in percentage used for the specified metric parameter.
The following lists the valid values for CPU and memory utilization.
CPU utilization:
PERCENT_30 | PERCENT_20 | PERCENT_0Memory utilization:
PERCENT_30 | PERCENT_20 | PERCENT_10
Queryable Attributes¶
threshold¶
The threshold value used for the specified metric parameter.
You can only specify the threshold value for CPU utilization.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_THRESHOLD() |
Getter for THRESHOLD, with configurable default |
ASK_THRESHOLD() |
Getter for THRESHOLD w/ exceptions if field has no value |
HAS_THRESHOLD() |
Determine if THRESHOLD has a value |
headroom¶
The headroom value in percentage used for the specified metric parameter.
The following lists the valid values for CPU and memory utilization.
CPU utilization:
PERCENT_30 | PERCENT_20 | PERCENT_0Memory utilization:
PERCENT_30 | PERCENT_20 | PERCENT_10
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HEADROOM() |
Getter for HEADROOM, with configurable default |
ASK_HEADROOM() |
Getter for HEADROOM w/ exceptions if field has no value |
HAS_HEADROOM() |
Determine if HEADROOM has a value |