DataPointAnomaly Class

  • java.lang.Object
    • com.azure.ai.metricsadvisor.models.DataPointAnomaly

public final class DataPointAnomaly

Describes an anomaly detected in a metric series.

Constructor Summary

Constructor Description
DataPointAnomaly()

Creates a new instance of DataPointAnomaly.

Method Summary

Modifier and Type Method and Description
OffsetDateTime getCreatedTime()

Gets the time in which alert for this anomaly created.

String getDataFeedId()

Get the data feed id.

String getDetectionConfigurationId()

Gets the id of the configuration used to detect the anomaly.

Double getExpectedValue()

Gets the expected value of the data point computed by the smart-detector had it not an anomaly.

String getMetricId()

Gets the metric id.

OffsetDateTime getModifiedTime()

Gets the time in which alert for this anomaly modified.

DimensionKey getSeriesKey()

Gets the key of the series in which anomaly detected.

AnomalySeverity getSeverity()

Gets the severity of the anomaly.

AnomalyStatus getStatus()

Gets the anomaly status.

OffsetDateTime getTimestamp()

Gets the anomaly time.

Double getValue()

Gets the value of the anomaly.

Methods inherited from java.lang.Object

Constructor Details

DataPointAnomaly

public DataPointAnomaly()

Creates a new instance of DataPointAnomaly.

Method Details

getCreatedTime

public OffsetDateTime getCreatedTime()

Gets the time in which alert for this anomaly created.

Returns:

The start time.

getDataFeedId

public String getDataFeedId()

Get the data feed id.

Returns:

The data feed id.

getDetectionConfigurationId

public String getDetectionConfigurationId()

Gets the id of the configuration used to detect the anomaly.

Returns:

The anomaly detection configuration id.

getExpectedValue

public Double getExpectedValue()

Gets the expected value of the data point computed by the smart-detector had it not an anomaly.

Returns:

The expected value.

getMetricId

public String getMetricId()

Gets the metric id.

Returns:

The metric id.

getModifiedTime

public OffsetDateTime getModifiedTime()

Gets the time in which alert for this anomaly modified.

Returns:

The modified time.

getSeriesKey

public DimensionKey getSeriesKey()

Gets the key of the series in which anomaly detected.

Returns:

key of the series.

getSeverity

public AnomalySeverity getSeverity()

Gets the severity of the anomaly.

Returns:

The severity.

getStatus

public AnomalyStatus getStatus()

Gets the anomaly status.

Returns:

The anomaly status.

getTimestamp

public OffsetDateTime getTimestamp()

Gets the anomaly time.

Returns:

The anomaly time.

getValue

public Double getValue()

Gets the value of the anomaly.

Returns:

The anomaly value.

Applies to