View Source Alarmist.Handler (alarmist v0.1.3)

Alarm handler

Summary

Functions

Registers a new alarm rule at runtime, registering rules with application config is preferred over this.

Functions

Link to this function

add_synthetic_alarm(alarm_id, compiled_rules)

View Source
@spec add_synthetic_alarm(Alarmist.alarm_id(), Alarmist.compiled_rules()) :: :ok
@spec get_state() :: Alarmist.Engine.t()
Link to this function

handle_event(arg, state)

View Source

Registers a new alarm rule at runtime, registering rules with application config is preferred over this.

Link to this function

remove_synthetic_alarm(alarm_id)

View Source
@spec remove_synthetic_alarm(Alarmist.alarm_id()) :: :ok