Sha256: 1023802bd761a736a7ee39c649a3da7063a416321d172cbd6b78ac147a66151c

Contents?: true

Size: 349 Bytes

Versions: 6

Compression:

Stored size: 349 Bytes

Contents

# encoding: utf-8
java_import org.logstash.instrument.metrics.gauge.LazyDelegatingGauge
module LogStash module Instrument module MetricType
  class Gauge < LazyDelegatingGauge

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

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

  end
end; end; end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
logstash-core-6.0.1-java lib/logstash/instrument/metric_type/gauge.rb
logstash-core-6.0.0-java lib/logstash/instrument/metric_type/gauge.rb
logstash-core-6.0.0.rc2-java lib/logstash/instrument/metric_type/gauge.rb
logstash-core-6.0.0.rc1-java lib/logstash/instrument/metric_type/gauge.rb
logstash-core-6.0.0.beta2-java lib/logstash/instrument/metric_type/gauge.rb
logstash-core-6.0.0.beta1-java lib/logstash/instrument/metric_type/gauge.rb