Sha256: b3afafda3b09014e078760dd8926a9131206da30ec422fc44fbf1dc9198e646c

Contents?: true

Size: 831 Bytes

Versions: 14

Compression:

Stored size: 831 Bytes

Contents

module Sapience
  class Metrics
    extend Sapience::Descendants

    def timing(_metric, _duration = 0, _options = {})
      fail NotImplementedError
    end

    def increment(_metric, _options = {})
      fail NotImplementedError
    end

    def decrement(_metric, _options = {})
      fail NotImplementedError
    end

    def histogram(_metric, _amount, _options = {})
      fail NotImplementedError
    end

    def gauge(_metric, _amount, _options = {})
      fail NotImplementedError
    end

    def count(_metric, _amount, _options = {})
      fail NotImplementedError
    end

    def time(_metric, _options = {}, &_block)
      fail NotImplementedError
    end

    def batch(&_block)
      fail NotImplementedError
    end

    def event(_title, _text, _options = {})
      fail NotImplementedError
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
sapience-2.4.0 lib/sapience/metrics.rb
sapience-2.3.5 lib/sapience/metrics.rb
sapience-2.3.4 lib/sapience/metrics.rb
sapience-2.3.3 lib/sapience/metrics.rb
sapience-2.2.3 lib/sapience/metrics.rb
sapience-2.2.1 lib/sapience/metrics.rb
sapience-2.2.0 lib/sapience/metrics.rb
sapience-2.1.0 lib/sapience/metrics.rb
sapience-2.0.5 lib/sapience/metrics.rb
sapience-2.0.4 lib/sapience/metrics.rb
sapience-2.0.3 lib/sapience/metrics.rb
sapience-2.0.2 lib/sapience/metrics.rb
sapience-2.0.1 lib/sapience/metrics.rb
sapience-2.0.0 lib/sapience/metrics.rb