- Get the metric with the name "cost" from the data feed and - print its id.
- For the "cost" metric, gets the anomaly detection configuration with the name "Default" - print its name, id, and existing condition applied for the whole time-series.
- Count anomalies detected by the "Default" anomaly detection configuration with start time 2020-9-1 & end time 2020-9-30 - print the count.
- In this "Default" anomaly detection configuration, set a condition for the whole time-series, which will detect an anomaly if values are outside an upper bound threshold of 1200000, and suppress any anomalies until 100% of the latest two data-points are detected as anomalies. Combine the new condition with the existing condition using an OR operator.
For one of the anomalies detected by the "Default" anomaly detection configuration, submit an AnomalyFeedback indicating that it's not an anomaly.
- Retrieve the incidents produced by the "Default" anomaly detection configuration with start time 2020-9-1 & end time 2020-9-30 - print the first Incident.
- For the first Incident, query all root causes - print the description of each root cause.