mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
parent
c2a76b9aed
commit
189adea066
1 changed files with 0 additions and 5 deletions
|
@ -17,7 +17,6 @@ module LogStash module Instrument
|
|||
class Collector
|
||||
include LogStash::Util::Loggable
|
||||
include Observable
|
||||
include Singleton
|
||||
|
||||
SNAPSHOT_ROTATION_TIME_SECS = 1 # seconds
|
||||
SNAPSHOT_ROTATION_TIMEOUT_INTERVAL_SECS = 10 * 60 # seconds
|
||||
|
@ -59,10 +58,6 @@ module LogStash module Instrument
|
|||
end
|
||||
end
|
||||
|
||||
def clear
|
||||
@metric_store = MetricStore.new
|
||||
end
|
||||
|
||||
# Monitor the `Concurrent::TimerTask` this update is triggered on every successful or not
|
||||
# run of the task, TimerTask implement Observable and the collector acts as
|
||||
# the observer and will keep track if something went wrong in the execution.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue