Skip to content

ServiceLevelIndicatorConfig

Source code in docs_src/capo_application_signals/types/service_level_indicator_config.py
class ServiceLevelIndicatorConfig(TypedDict, closed=True):
    sli_metric_config: "capo_application_signals.types.service_level_indicator_metric_config.ServiceLevelIndicatorMetricConfig"
    """<p>Use this structure to specify the metric to be used for the SLO.</p>"""
    metric_threshold: "capo_application_signals.types.service_level_indicator_metric_threshold.ServiceLevelIndicatorMetricThreshold"
    """<p>This parameter is used only when a request-based SLO tracks the <code>Latency</code> metric. Specify the threshold value that the observed <code>Latency</code> metric values are to be compared to.</p> <p>This is not required if <code>CreateRecommendedSlo</code> is set to <code>true</code>.</p>"""
    comparison_operator: "capo_application_signals.types.service_level_indicator_comparison_operator.ServiceLevelIndicatorComparisonOperator"
    """<p>The arithmetic operation to use when comparing the specified metric to the threshold.</p> <p>This is not required if <code>CreateRecommendedSlo</code> is set to <code>true</code>.</p>"""

comparison_operator instance-attribute

The arithmetic operation to use when comparing the specified metric to the threshold.

This is not required if CreateRecommendedSlo is set to true.

metric_threshold instance-attribute

This parameter is used only when a request-based SLO tracks the Latency metric. Specify the threshold value that the observed Latency metric values are to be compared to.

This is not required if CreateRecommendedSlo is set to true.

sli_metric_config instance-attribute

Use this structure to specify the metric to be used for the SLO.