Sha256: 8e3db251273f83c3b61cfc2c7a22444e51cbdeffe621b01591d2c805005f7a77

Contents?: true

Size: 585 Bytes

Versions: 28

Compression:

Stored size: 585 Bytes

Contents

# encoding: utf-8
require 'logstash/instrument/periodic_poller/base'

module LogStash module Instrument module PeriodicPoller
  class DeadLetterQueue < Base
    def initialize(metric, agent, options = {})
      super(metric, options)
      @metric = metric
      @agent = agent
    end

    def collect
      pipelines = @agent.with_running_user_defined_pipelines {|pipelines| pipelines}
      unless pipelines.nil?
        pipelines.each {|_, pipeline|
          unless pipeline.nil?
            pipeline.collect_dlq_stats
          end
        }
      end
    end
  end
end end end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
logstash-core-6.6.0-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-7.0.0.alpha2-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.5.4-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.5.3-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.5.2-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.5.1-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-7.0.0.alpha1-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.5.0-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.4.3-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.4.2-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.4.1-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.4.0-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.3.2-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.3.1-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.3.0-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.2.4-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.2.3-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.1.4-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.2.2-java lib/logstash/instrument/periodic_poller/dlq.rb
logstash-core-6.2.1-java lib/logstash/instrument/periodic_poller/dlq.rb