Class: ActiveMeasure::Adapters::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/active_measure/adapters/base.rb

Direct Known Subclasses

Sink, Statsd

Instance Method Summary collapse

Instance Method Details

#count(metric, value, **_options) ⇒ Object

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/active_measure/adapters/base.rb', line 14

def count(metric, value, **_options)
  raise NotImplementedError
end

#decrement(metric, value = 1, **_options) ⇒ Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/active_measure/adapters/base.rb', line 10

def decrement(metric, value = 1, **_options)
  raise NotImplementedError
end

#distribution(metric, value, **_options) ⇒ Object

Raises:

  • (NotImplementedError)


38
39
40
# File 'lib/active_measure/adapters/base.rb', line 38

def distribution(metric, value, **_options)
  raise NotImplementedError
end

#gauge(metric, value, **_options) ⇒ Object

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/active_measure/adapters/base.rb', line 18

def gauge(metric, value, **_options)
  raise NotImplementedError
end

#histogram(metric, value, **_options) ⇒ Object

Raises:

  • (NotImplementedError)


30
31
32
# File 'lib/active_measure/adapters/base.rb', line 30

def histogram(metric, value, **_options)
  raise NotImplementedError
end

#increment(metric, value = 1, **_options) ⇒ Object

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/active_measure/adapters/base.rb', line 6

def increment(metric, value = 1, **_options)
  raise NotImplementedError
end

#set(metric, value, **_options) ⇒ Object

Raises:

  • (NotImplementedError)


34
35
36
# File 'lib/active_measure/adapters/base.rb', line 34

def set(metric, value, **_options)
  raise NotImplementedError
end

#time(metric, &block) ⇒ Object

Raises:

  • (NotImplementedError)


26
27
28
# File 'lib/active_measure/adapters/base.rb', line 26

def time(metric, &block)
  raise NotImplementedError
end

#timing(metric, value, **_options) ⇒ Object

Raises:

  • (NotImplementedError)


22
23
24
# File 'lib/active_measure/adapters/base.rb', line 22

def timing(metric, value, **_options)
  raise NotImplementedError
end