lib/flapjack/processor.rb in flapjack-0.7.27 vs lib/flapjack/processor.rb in flapjack-0.7.28
- old
+ new
@@ -176,10 +176,10 @@
# FIXME: validate that the event is sane before we ever get here
# FIXME: create an event if there is dodgy data
case event.type
- # Service events represent changes in state on monitored systems
+ # Service events represent current state of checks on monitored systems
when 'service'
@redis.multi
if event.ok?
@redis.hincrby('event_counters', 'ok', 1)
@redis.hincrby("event_counters:#{@instance_id}", 'ok', 1)