Alarmist.Handler (alarmist v0.2.2)
View SourceAlarm handler
Summary
Functions
Registers a new alarm rule at runtime, registering rules with application config is preferred over this.
Functions
@spec add_synthetic_alarm(Alarmist.alarm_id(), Alarmist.compiled_rules()) :: :ok
@spec get_state() :: Alarmist.Engine.t()
Registers a new alarm rule at runtime, registering rules with application config is preferred over this.
@spec remove_synthetic_alarm(Alarmist.alarm_id()) :: :ok
@spec synthetic_alarm_ids() :: [Alarmist.alarm_id()]