Nextdoor / zkmonitor

Zookeeper Monitoring Daemon
5 stars 4 forks source link

Should alert on "now in spec" #1

Closed diranged closed 10 years ago

diranged commented 10 years ago

We should be able to send out a "now in spec" alert as soon as a path transitions from out-of-spec and into-spec. This will likely mean that the Monitor object needs to keep some 'state' for each of the paths its monitoring that includes:

The simple thing to do is have the Monitor object hold this state... but a more advanced model would be to store this data in the cluster.State() object and ultimately store it in Zookeeper.