Class MetricChangePointFeedback

java.lang.Object
com.azure.ai.metricsadvisor.models.MetricFeedback
com.azure.ai.metricsadvisor.models.MetricChangePointFeedback

public final class MetricChangePointFeedback extends MetricFeedback
The Feedback that allows the user to mark the exact change point when the time series has a trend change. This helps the anomaly detector in future analysis.
  • Constructor Details

    • MetricChangePointFeedback

      public MetricChangePointFeedback(OffsetDateTime startTime, OffsetDateTime endTime, ChangePointValue changePointValue)
      Creates an instance of MetricChangePointFeedback.
      Parameters:
      startTime - the start timestamp of feedback timerange
      endTime - the end timestamp of feedback timerange, when equals to startTime means only one timestamp
      changePointValue - the value of the change point feedback.
  • Method Details

    • setDimensionFilter

      public MetricChangePointFeedback setDimensionFilter(DimensionKey dimensionFilter)
      Set the series keys value for the feedback.
      Overrides:
      setDimensionFilter in class MetricFeedback
      Parameters:
      dimensionFilter - the dimensionFilter value to set.
      Returns:
      the MetricChangePointFeedback object itself.
    • getChangePointValue

      public ChangePointValue getChangePointValue()
      Get the change point feedback value.
      Returns:
      the changePointValue value.
    • getStartTime

      public OffsetDateTime getStartTime()
      Get the start timestamp of feedback timerange.
      Returns:
      the startTime value.
    • getEndTime

      public OffsetDateTime getEndTime()
      Get the end timestamp of feedback timerange, when equals to startTime means only one timestamp.
      Returns:
      the endTime value.