MetricAnomalyAlertScope.CreateScopeForTopNGroup(Int32, Int32, Int32) Method

Definition

Creates a MetricAnomalyAlertScope instance that has the top N series group as the scope. For a better definition of what this series group is, see 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

Parameters

top
Int32

The value of N in the top N series group.

period
Int32

The number of latest ingestion timestamps to consider when determining the top N series group.

minimumTopCount
Int32

The number of times a time series must be ranked among the highest series to be considered part of the top N series group. This value must be less than or equal to period.

Returns

A new MetricAnomalyAlertScope instance.

Applies to