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

MetricAnomalyAlertScope.CreateScopeForTopNGroup(Int32, Int32, Int32) 方法

定义

创建一个 MetricAnomalyAlertScope 实例,该实例将前 N 个系列组作为范围。 有关此序列组的更好定义,请参阅 TopNGroupScope

public static Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertScope CreateScopeForTopNGroup(int top, int period, int minimumTopCount);
static member CreateScopeForTopNGroup : int * int * int -> Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertScope
Public Shared Function CreateScopeForTopNGroup (top As Integer, period As Integer, minimumTopCount As Integer) As MetricAnomalyAlertScope

参数

top
Int32

前 N 个系列组中 N 的值。

period
Int32

确定前 N 个序列组时要考虑的最新引入时间戳数。

minimumTopCount
Int32

时序必须排在最高序列中才能被视为前 N 个序列组的一部分的次数。 此值必须小于或等于 period

返回

MetricAnomalyAlertScope 实例。

适用于