zalando-zmon/zmon-data-service

Alerts TimePeriod is not honored

hjacobs opened this issue · 0 comments

The ZMON worker will remove alerts from "active" alerts (e.g. "zmon:alerts" Redis key) if the "time period" does not match:

From worker logs:

notify - Removed alert with id 5363 on entity abc-live-slave-standby from active alerts due to time period: hr { 16 - 23 }

The behavior is not honored in data service.

To be changed: the data service needs to consider the in_period property of the AlertData object and remove alerts from alert state if in_period==false.