Method: God::Watch#monitor
- Defined in:
- lib/god/watch.rb
#monitor ⇒ Object
Enable monitoring
91 92 93 94 95 96 97 98 |
# File 'lib/god/watch.rb', line 91 def monitor # start monitoring at the first available of the init or up states if !self.metrics[:init].empty? self.move(:init) else self.move(:up) end end |