Consider an alert that runs with hourly granularity and an incident that last 3 hours. The alert will detect an anomaly 3 times, but it is actually the same incident. ThirdEye merges the anomalies in a single one.By default, the following rules are applied:
consecutive anomalies are merged
if an anomaly lasts for more than 7 days, a new anomaly is created
Custom behavior
You can configure ThirdEye to merge anomalies that have a small gap between them using mergeMaxGap.
For instance, with mergeMaxGap=PT2H, anomalies that have less than 2 hours between them are merged together.
Disable anomaly merger
You can disable anomaly merger by setting mergeMaxGap=PT0S.