README.md 431 B

CRXN Flapping Detector

The faye-websocket gem is required:

gem install faye-websocket

You can create a flapping detector and then run it. Running it blocks the current thread. As argument you can specify the websocket URI and the threshold value. If there are more updates per minute than the threshold, a message is displayed.

detector = FlappingDetector.new 'ws://babelweb2.bandura.crxn/ws', 5
detector.run