MetricAnomalyAlertScope Class

Definition

Selects the scope of time series in which an anomaly must be to be included in an alert. In order to instantiate an object of this class, one of the following static methods must be used:

public class MetricAnomalyAlertScope
type MetricAnomalyAlertScope = class
Public Class MetricAnomalyAlertScope
Inheritance
MetricAnomalyAlertScope

Properties

ScopeType

The type of scope.

SeriesGroupInScope

Defines the set of time series included in this scope. If all possible dimensions are set, the key uniquely identifies a single time series for the corresponding metric. If only a subset of dimensions are set, the key uniquely identifies a group of time series.

TopNGroupInScope

Defines the top N series included in this scope.

Methods

CreateScopeForSeriesGroup(DimensionKey)

Creates a MetricAnomalyAlertScope instance that has a fixed group of time series as the scope.

CreateScopeForTopNGroup(Int32, Int32, Int32)

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.

CreateScopeForWholeSeries()

Creates a MetricAnomalyAlertScope instance that has all time series within the associated metric as the scope.

Applies to