ServiceLevelIndicatorMetric
¶
Source code in docs_src/capo_application_signals/types/service_level_indicator_metric.py
composite_sli_config
instance-attribute
¶
composite_sli_config: NotRequired[CompositeSliConfig]
The composite SLI configuration for service-level SLOs that monitor multiple operations of a service.
dependency_config
instance-attribute
¶
dependency_config: NotRequired[DependencyConfig]
Identifies the dependency using the DependencyKeyAttributes and DependencyOperationName.
key_attributes
instance-attribute
¶
key_attributes: NotRequired[Attributes]
This is a string-to-string map that contains information about the type of object that this SLO is related to. It can include the following fields.
-
Typedesignates the type of object that this SLO is related to. -
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.
metric_data_queries
instance-attribute
¶
metric_data_queries: MetricDataQueries
If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, this structure includes the information about that metric or expression.
metric_source
instance-attribute
¶
metric_source: NotRequired[MetricSource]
Identifies the metric source for SLOs on resources other than Application Signals services.
metric_type
instance-attribute
¶
metric_type: NotRequired[ServiceLevelIndicatorMetricType]
If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.
operation_name
instance-attribute
¶
operation_name: NotRequired[OperationName]
If the SLO monitors a specific operation of the service, this field displays that operation name.