共用方式為


AnomalyDetectionConfiguration Class

Definition

The AnomalyDetectionConfiguration.

public class AnomalyDetectionConfiguration
type AnomalyDetectionConfiguration = class
Public Class AnomalyDetectionConfiguration
Inheritance
AnomalyDetectionConfiguration

Remarks

In order to create an anomaly detection configuration, you must set up at least the properties Name, MetricId, and WholeSeriesDetectionConditions, and pass this instance to the method CreateDetectionConfigurationAsync(AnomalyDetectionConfiguration, CancellationToken). Note that a detection configuration only detects anomalies, and is not responsible for triggering alerts. If you want alerts to be triggered, you need to create an AnomalyAlertConfiguration.

Constructors

AnomalyDetectionConfiguration()

Creates a new instance of the AnomalyDetectionConfiguration class.

Properties

Description

A description of this AnomalyDetectionConfiguration. Defaults to an empty string.

Id

The unique identifier of this AnomalyDetectionConfiguration.

MetricId

The identifier of the DataFeedMetric to which this configuration applies.

Name

A custom name for this AnomalyDetectionConfiguration to be displayed on the web portal. Detection configuration names must be unique for the same metric.

SeriesDetectionConditions

The anomaly detection conditions to be applied to a time series. Note that these conditions overwrite the ones specified by WholeSeriesDetectionConditions and SeriesGroupDetectionConditions.

SeriesGroupDetectionConditions

The anomaly detection conditions to be applied to groups of time series. Be aware that these are only default conditions. They will only be applied to a new data point if the list SeriesDetectionConditions does not specify conditions for the point's time series. Also, note that these conditions overwrite the ones specified by WholeSeriesDetectionConditions.

WholeSeriesDetectionConditions

The default anomaly detection conditions to be applied to all time series. Be aware that these are only default conditions. They will only be applied to a new data point if the lists SeriesDetectionConditions and SeriesGroupDetectionConditions do not specify conditions for the point's time series.

Applies to