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.8.23-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.22-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.21-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.20-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.19-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.18-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.17-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.16-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.15-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.14-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.13-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.12-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.11-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.10-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.9-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.8-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.7-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-7.5.2-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-7.5.1-java lib/logstash/instrument/metric_type/counter.rb
logstash-core-6.8.6-java lib/logstash/instrument/metric_type/counter.rb