Merge "bugfix: delete resolved prometheus alarms"
This commit is contained in:
commit
33894a5b8e
@ -68,8 +68,10 @@ class PrometheusDriver(AlarmDriverBase):
|
|||||||
def _status_changed(self, new_alarm, old_alarm):
|
def _status_changed(self, new_alarm, old_alarm):
|
||||||
return new_alarm.get(PProps.STATUS) != old_alarm.get(PProps.STATUS)
|
return new_alarm.get(PProps.STATUS) != old_alarm.get(PProps.STATUS)
|
||||||
|
|
||||||
def _get_alarms(self):
|
def _get_all_alarms(self):
|
||||||
# TODO(iafek): should be implemented
|
return []
|
||||||
|
|
||||||
|
def _get_changed_alarms(self):
|
||||||
return []
|
return []
|
||||||
|
|
||||||
def enrich_event(self, event, event_type):
|
def enrich_event(self, event, event_type):
|
||||||
|
Loading…
Reference in New Issue
Block a user