AnomalyIncident Class

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

public final class AnomalyIncident

Describes an incident detected in a time series or a time series group.

Constructor Summary

Constructor Description
AnomalyIncident()

Creates a new instance of the AnomalyIncident class.

Method Summary

Modifier and Type Method and Description
String getDataFeedId()

Get the data feed id.

String getDetectionConfigurationId()

Get the id of the configuration used to detect the anomalies that resulted in the incident.

Double getExpectedValueOfRootNode()

Gets the expected aggregated value at root dimension node had there is no incident.

String getId()

Gets the incident id.

OffsetDateTime getLastTime()

Gets the most recent time in which incident occurred.

String getMetricId()

Get the metric id.

DimensionKey getRootDimensionKey()

Out of all dimension nodes in the dimension combination tree, get the dimension node that is identified as the root node where the incident anomalies are logically aggregated.

AnomalySeverity getSeverity()

Gets the severity of the incident.

OffsetDateTime getStartTime()

Gets the time in which incident started.

AnomalyIncidentStatus getStatus()

Gets the incident status.

Double getValueOfRootNode()

Gets the aggregated value at root dimension node where the incident anomalies are logically aggregated.

Methods inherited from java.lang.Object

Constructor Details

AnomalyIncident

public AnomalyIncident()

Creates a new instance of the AnomalyIncident class.

Method Details

getDataFeedId

public String getDataFeedId()

Get the data feed id.

Returns:

The data feed id.

getDetectionConfigurationId

public String getDetectionConfigurationId()

Get the id of the configuration used to detect the anomalies that resulted in the incident.

Returns:

The anomaly detection configuration id.

getExpectedValueOfRootNode

public Double getExpectedValueOfRootNode()

Gets the expected aggregated value at root dimension node had there is no incident.

Returns:

The expected value.

getId

public String getId()

Gets the incident id.

Returns:

The incident id.

getLastTime

public OffsetDateTime getLastTime()

Gets the most recent time in which incident occurred.

Returns:

The last time.

getMetricId

public String getMetricId()

Get the metric id.

Returns:

The metric id.

getRootDimensionKey

public DimensionKey getRootDimensionKey()

Out of all dimension nodes in the dimension combination tree, get the dimension node that is identified as the root node where the incident anomalies are logically aggregated.

Returns:

id of the root dimension node.

getSeverity

public AnomalySeverity getSeverity()

Gets the severity of the incident.

Returns:

The severity.

getStartTime

public OffsetDateTime getStartTime()

Gets the time in which incident started.

Returns:

The start time.

getStatus

public AnomalyIncidentStatus getStatus()

Gets the incident status.

Returns:

The incident status.

getValueOfRootNode

public Double getValueOfRootNode()

Gets the aggregated value at root dimension node where the incident anomalies are logically aggregated.

Returns:

The value.

Applies to