Sha256: dd3cf958c051fd8bb17370a753642af0a02a11abf6d66c85ce41c5f66eadb993

Contents?: true

Size: 323 Bytes

Versions: 72

Compression:

Stored size: 323 Bytes

Contents

#encoding: utf-8
java_import org.logstash.instrument.metrics.counter.LongCounter

module LogStash module Instrument module MetricType
  class Counter < LongCounter

    def initialize(namespaces, key)
      super(key.to_s)

    end

    def execute(action, value = 1)
      send(action, value)
    end

  end
end; end; end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
logstash-core-6.7.1-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-7.0.0.rc2-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-7.0.0.rc1-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.7.0-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.6.2-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.6.1-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-7.0.0.beta1-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.6.0-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-7.0.0.alpha2-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.5.4-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.5.3-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.5.2-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.5.1-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-7.0.0.alpha1-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.5.0-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.4.3-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.4.2-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.4.1-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.4.0-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.3.2-java lib/logstash/instrument/metric_type/counter.rb