Class DataPointAnomaly

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

public final class DataPointAnomaly extends Object
Describes an anomaly detected in a metric series.
  • Constructor Details

    • DataPointAnomaly

      public DataPointAnomaly()
  • Method Details

    • getDataFeedId

      public String getDataFeedId()
      Get the data feed id.
      Returns:
      The data feed id.
    • getMetricId

      public String getMetricId()
      Gets the metric id.
      Returns:
      The metric id.
    • getDetectionConfigurationId

      public String getDetectionConfigurationId()
      Gets the id of the configuration used to detect the anomaly.
      Returns:
      The anomaly detection configuration id.
    • 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.
    • getCreatedTime

      public OffsetDateTime getCreatedTime()
      Gets the time in which alert for this anomaly created.
      Returns:
      The start time.
    • getModifiedTime

      public OffsetDateTime getModifiedTime()
      Gets the time in which alert for this anomaly modified.
      Returns:
      The modified time.
    • getValue

      public Double getValue()
      Gets the value of the anomaly.
      Returns:
      The anomaly value.
    • 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.