MetricAnomalyFeedback Class

Definition

The AnomalyFeedback.

public class MetricAnomalyFeedback : Azure.AI.MetricsAdvisor.MetricFeedback
type MetricAnomalyFeedback = class
    inherit MetricFeedback
Public Class MetricAnomalyFeedback
Inherits MetricFeedback
Inheritance
MetricAnomalyFeedback

Remarks

In order to create anomaly feedback, you must pass this instance to the method AddFeedbackAsync(MetricFeedback, CancellationToken).

Constructors

MetricAnomalyFeedback(String, DimensionKey, DateTimeOffset, DateTimeOffset, AnomalyValue)

Initializes a new instance of the MetricAnomalyFeedback class.

Properties

AnomalyValue

Indicates whether or not the data points should have been labeled as anomalies by the service.

CreatedOn

Date and time, in UTC, when the MetricFeedback was created.

(Inherited from MetricFeedback)
DetectionConfigurationId

The ID of the AnomalyDetectionConfiguration to which this feedback applies. If null, this feedback applies to all anomalies within the specified time range, defined by StartsOn and EndsOn, without regard for the configuration used to detect them.

DetectionConfigurationSnapshot

A snapshot of the AnomalyDetectionConfiguration to which this feedback applies, taken at the moment this feedback was created. Even if the original configuration changes, this snapshot will remain unaltered. If no DetectionConfigurationId was specified during creation, this property will be null.

DimensionKey

A key that identifies a set of time series to which the MetricFeedback applies. If all possible dimensions are set, this key uniquely identifies a single time series for the specified MetricId. If only a subset of dimensions are set, this key uniquely identifies a group of time series.

(Inherited from MetricFeedback)
EndsOn

The end timestamp of feedback timerange. When this is equal to StartsOn it indicates a single timestamp.

FeedbackKind

The feedback kind.

(Inherited from MetricFeedback)
Id

The unique identifier of this MetricFeedback.

(Inherited from MetricFeedback)
MetricId

The identifier of the metric to which the MetricFeedback applies.

(Inherited from MetricFeedback)
StartsOn

The start timestamp of feedback time range.

UserPrincipal

The user who created the MetricFeedback. If MetricsAdvisorKeyCredential authentication was used when creating the feedback, this property contains the email address of the creator. If AAD authentication was used instead, the value of this property uniquely identifies the creator's user principal, but its value depends on the type of credential used. For instance, if a ClientSecretCredential is used, it will contain the client ID.

(Inherited from MetricFeedback)

Applies to