/AWS1/CL_SGMMETRICSCONFIG¶
The configuration for Utilization metrics.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_enableenhancedmetrics TYPE /AWS1/SGMENABLEENHANCEDMETRICS /AWS1/SGMENABLEENHANCEDMETRICS¶
Specifies whether to enable enhanced metrics for the endpoint. Enhanced metrics provide utilization and invocation data at instance and container granularity. Container granularity is supported for Inference Components. The default is
False.
iv_metricpubfrequencyinsecs TYPE /AWS1/SGMMETRICPUBFREQUENCYI00 /AWS1/SGMMETRICPUBFREQUENCYI00¶
The interval, in seconds, at which metrics are published to Amazon CloudWatch. Defaults to
60. Valid values:10,30,60,120,180,240,300. WhenEnableEnhancedMetricsis set toFalse, this interval applies to utilization metrics only; invocation metrics continue to be published at the default 60-second interval. WhenEnableEnhancedMetricsis set toTrue, this interval applies to both utilization and invocation metrics.
Queryable Attributes¶
EnableEnhancedMetrics¶
Specifies whether to enable enhanced metrics for the endpoint. Enhanced metrics provide utilization and invocation data at instance and container granularity. Container granularity is supported for Inference Components. The default is
False.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENABLEENHANCEDMETRICS() |
Getter for ENABLEENHANCEDMETRICS, with configurable default |
ASK_ENABLEENHANCEDMETRICS() |
Getter for ENABLEENHANCEDMETRICS w/ exceptions if field has |
HAS_ENABLEENHANCEDMETRICS() |
Determine if ENABLEENHANCEDMETRICS has a value |
MetricPublishFrequencyInSeconds¶
The interval, in seconds, at which metrics are published to Amazon CloudWatch. Defaults to
60. Valid values:10,30,60,120,180,240,300. WhenEnableEnhancedMetricsis set toFalse, this interval applies to utilization metrics only; invocation metrics continue to be published at the default 60-second interval. WhenEnableEnhancedMetricsis set toTrue, this interval applies to both utilization and invocation metrics.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_METRICPUBFREQUENCYINSECS() |
Getter for METRICPUBFREQUENCYINSECONDS, with configurable de |
ASK_METRICPUBFREQUENCYINSECS() |
Getter for METRICPUBFREQUENCYINSECONDS w/ exceptions if fiel |
HAS_METRICPUBFREQUENCYINSECS() |
Determine if METRICPUBFREQUENCYINSECONDS has a value |