你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CustomMonitoringSignal Class

Note

This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.

Custom monitoring signal.

Constructor

CustomMonitoringSignal(*, inputs: Dict[str, Input] | None = None, metric_thresholds: List[CustomMonitoringMetricThreshold], component_id: str, connection: Connection | None = None, input_data: Dict[str, ReferenceData] | None = None, alert_enabled: bool = False, properties: Dict[str, str] | None = None)

Keyword-Only Parameters

Name Description
input_data

A dictionary of input datasets for monitoring. Each key is the component input port name, and its value is the data asset.

metric_thresholds

A list of metrics to calculate and their associated thresholds.

inputs
Optional[dict[str, <xref:azure.ai.ml.entities.Input>]]
component_id
str

The ARM (Azure Resource Manager) ID of the component resource used to calculate the custom metrics.

connection

Specify connection with environment variables and secret configs.

alert_enabled

Whether or not to enable alerts for the signal. Defaults to False.

properties

A dictionary of custom properties for the signal.

Variables

Name Description
type
str

The type of the signal. Set to "custom" for this class.