Metric
¶
Source code in docs_src/capo_iotsitewise/types/metric.py
expression
instance-attribute
¶
expression: Expression
The mathematical expression that defines the metric aggregation function. You can specify up to 10 variables per expression. You can specify up to 10 functions per expression.
For more information, see Quotas in the IoT SiteWise User Guide.
processing_config
instance-attribute
¶
processing_config: NotRequired[MetricProcessingConfig]
The processing configuration for the given metric property. You can configure metrics to be computed at the edge or in the Amazon Web Services Cloud. By default, metrics are forwarded to the cloud.
variables
instance-attribute
¶
variables: ExpressionVariables
The list of variables used in the expression.
window
instance-attribute
¶
window: MetricWindow
The window (time interval) over which IoT SiteWise computes the metric's aggregation expression. IoT SiteWise computes one data point per window.