AnomalyIncident Class
- java.
lang. Object - com.
azure. ai. metricsadvisor. models. AnomalyIncident
- com.
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. |
Offset |
getLastTime()
Gets the most recent time in which incident occurred. |
String |
getMetricId()
Get the metric id. |
Dimension |
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. |
Anomaly |
getSeverity()
Gets the severity of the incident. |
Offset |
getStartTime()
Gets the time in which incident started. |
Anomaly |
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:
getDetectionConfigurationId
public String getDetectionConfigurationId()
Get the id of the configuration used to detect the anomalies that resulted in the incident.
Returns:
getExpectedValueOfRootNode
public Double getExpectedValueOfRootNode()
Gets the expected aggregated value at root dimension node had there is no incident.
Returns:
getId
public String getId()
Gets the incident id.
Returns:
getLastTime
public OffsetDateTime getLastTime()
Gets the most recent time in which incident occurred.
Returns:
getMetricId
public String getMetricId()
Get the metric id.
Returns:
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:
getSeverity
public AnomalySeverity getSeverity()
Gets the severity of the incident.
Returns:
getStartTime
public OffsetDateTime getStartTime()
Gets the time in which incident started.
Returns:
getStatus
public AnomalyIncidentStatus getStatus()
Gets the incident status.
Returns:
getValueOfRootNode
public Double getValueOfRootNode()
Gets the aggregated value at root dimension node where the incident anomalies are logically aggregated.
Returns:
Applies to
Azure SDK for Java