This file isn't used all the observer logic is already handled in the periodic poller base class.

Fixes #6169
This commit is contained in:
Pier-Hugues Pellerin 2016-11-02 10:36:53 -04:00
parent 1d21530c56
commit d063c44293

View file

@ -1,19 +0,0 @@
# encoding: utf-8
module LogStash module Instrument module PeriodicPoller
class PeriodicPollerObserver
include LogStash::Util::Loggable
def initialize(poller)
@poller = poller
end
def update(time, result, exception)
if exception
logger.error("PeriodicPoller exception", :poller => @poller,
:result => result,
:exception => exception,
:executed_at => time)
end
end
end
end; end; end