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

MetricAlertConfiguration.UseDetectionResultToFilterAnomalies 属性

定义

如果设置为 true,则 MetricAlertConfiguration 不能用于将异常直接添加到警报。 相反,它将仅用作其包含 AnomalyAlertConfiguration的筛选器,筛选掉不应添加到警报中的异常。 如果异常不符合此配置设置的条件,则无法将其添加到警报。 默认为 false

public bool? UseDetectionResultToFilterAnomalies { get; set; }
member this.UseDetectionResultToFilterAnomalies : Nullable<bool> with get, set
Public Property UseDetectionResultToFilterAnomalies As Nullable(Of Boolean)

属性值

注解

请注意,如果将此属性设置为 true ,并且 中 MetricAlertConfigurations没有其他配置,则永远不会触发警报。

适用于