AnomalyAlertConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The AnomalyAlertingConfiguration.
public class AnomalyAlertConfiguration
type AnomalyAlertConfiguration = class
Public Class AnomalyAlertConfiguration
- Inheritance
-
AnomalyAlertConfiguration
Remarks
In order to create an anomaly alert configuration, you must set up the property Name and have at least one element in MetricAlertConfigurations, and pass this instance to the method CreateAlertConfigurationAsync(AnomalyAlertConfiguration, CancellationToken). Note that, even if alerts are triggered, you won't be notified about them unless you create a NotificationHook and pass its ID to IdsOfHooksToAlert.
Constructors
AnomalyAlertConfiguration() |
Initializes a new instance of the AnomalyAlertConfiguration class. |
Properties
CrossMetricsOperator |
The operator to be applied between MetricAlertConfigurations in this instance. This property must be set if at least two configurations are defined in MetricAlertConfigurations. |
Description |
A description of this AnomalyAlertConfiguration. Defaults to an empty string. |
DimensionsToSplitAlert |
By default, a set of ingested data points can only trigger a single alert, regardless of how many anomalies it contains. This property allows this alert to be split into multiple ones. Each element in this list must hold a dimension name, and a separate alert is fired for every specified dimension. The dimensions not specified in this list will be grouped in a single alert. |
Id |
The unique identifier of this AnomalyAlertConfiguration. |
IdsOfHooksToAlert |
The unique identifiers of the NotificationHooks to be notified when an alert is fired by this configuration. |
MetricAlertConfigurations |
The configurations that specify a set of rules a detected anomaly must satisfy to be included in an alert. |
Name |
A custom name for this AnomalyAlertConfiguration to be displayed on fired alerts. Alert configuration names must be unique for the same data feed. |