Sha256: cba4b85df073265fce559c03354468f6c00a42f41f3c87d3095ec65910b63cdb

Contents?: true

Size: 861 Bytes

Versions: 16

Compression:

Stored size: 861 Bytes

Contents

# frozen_string_literal: true
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

16 entries across 16 versions & 1 rubygems

Version Path
sapience-3.0 lib/sapience/metrics.rb
sapience-2.15 lib/sapience/metrics.rb
sapience-2.14 lib/sapience/metrics.rb
sapience-2.13 lib/sapience/metrics.rb
sapience-2.12 lib/sapience/metrics.rb
sapience-2.11 lib/sapience/metrics.rb
sapience-2.10 lib/sapience/metrics.rb
sapience-2.9.1 lib/sapience/metrics.rb
sapience-2.8 lib/sapience/metrics.rb
sapience-2.7.0 lib/sapience/metrics.rb
sapience-2.6.1 lib/sapience/metrics.rb
sapience-2.6.0 lib/sapience/metrics.rb
sapience-2.5.4 lib/sapience/metrics.rb
sapience-2.5.3 lib/sapience/metrics.rb
sapience-2.5.2 lib/sapience/metrics.rb
sapience-2.5.0 lib/sapience/metrics.rb