Delen via


MetricAlertConfiguration Class

Definition

The MetricAlertingConfiguration.

public class MetricAlertConfiguration
type MetricAlertConfiguration = class
Public Class MetricAlertConfiguration
Inheritance
MetricAlertConfiguration

Constructors

MetricAlertConfiguration(String, MetricAnomalyAlertScope)

Initializes a new instance of the MetricAlertConfiguration class.

Properties

AlertConditions

Sets extra conditions that an anomaly must satisfy to be included in an alert.

AlertScope

Selects the scope of time series in which an anomaly must be to be included in an alert.

AlertSnoozeCondition

Used to avoid alert spamming. After an anomaly is added to an alert, temporarily prevents new anomalies to be alerted for a specified period.

DetectionConfigurationId

The identifier of the AnomalyDetectionConfiguration to which this configuration applies. An anomaly can only be included in an alert if it was detected by this configuration.

UseDetectionResultToFilterAnomalies

If set to true, this MetricAlertConfiguration cannot be used to add anomalies to an alert directly. Instead, it will only be used as a filter to its containing AnomalyAlertConfiguration, filtering out anomalies that shouldn't be added to the alert. If an anomaly does not satisfy the conditions set by this configuration, it can't be added to the alert. Defaults to false.

Applies to