DataPointAnomaly Class
- java.
lang. Object - com.
azure. ai. metricsadvisor. models. DataPointAnomaly
- com.
public final class DataPointAnomaly
Describes an anomaly detected in a metric series.
Constructor Summary
Constructor | Description |
---|---|
DataPointAnomaly() |
Creates a new instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
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. |
Offset |
getModifiedTime()
Gets the time in which alert for this anomaly modified. |
Dimension |
getSeriesKey()
Gets the key of the series in which anomaly detected. |
Anomaly |
getSeverity()
Gets the severity of the anomaly. |
Anomaly |
getStatus()
Gets the anomaly status. |
Offset |
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:
getDataFeedId
public String getDataFeedId()
Get the data feed id.
Returns:
getDetectionConfigurationId
public String getDetectionConfigurationId()
Gets the id of the configuration used to detect the anomaly.
Returns:
getExpectedValue
public Double getExpectedValue()
Gets the expected value of the data point computed by the smart-detector had it not an anomaly.
Returns:
getMetricId
public String getMetricId()
Gets the metric id.
Returns:
getModifiedTime
public OffsetDateTime getModifiedTime()
Gets the time in which alert for this anomaly modified.
Returns:
getSeriesKey
public DimensionKey getSeriesKey()
Gets the key of the series in which anomaly detected.
Returns:
getSeverity
public AnomalySeverity getSeverity()
Gets the severity of the anomaly.
Returns:
getStatus
public AnomalyStatus getStatus()
Gets the anomaly status.
Returns:
getTimestamp
public OffsetDateTime getTimestamp()
Gets the anomaly time.
Returns:
getValue
public Double getValue()
Gets the value of the anomaly.
Returns:
Applies to
Azure SDK for Java