Class: Sapience::Metrics

Inherits:
Object
  • Object
show all
Extended by:
Descendants
Defined in:
lib/sapience/metrics.rb,
lib/sapience/metrics/datadog.rb

Direct Known Subclasses

Datadog

Defined Under Namespace

Classes: Datadog

Instance Method Summary collapse

Methods included from Descendants

descendants

Instance Method Details

#batch(&_block) ⇒ Object



34
35
36
# File 'lib/sapience/metrics.rb', line 34

def batch(&_block)
  fail NotImplementedError
end

#count(_metric, _amount, _options = {}) ⇒ Object



26
27
28
# File 'lib/sapience/metrics.rb', line 26

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

#decrement(_metric, _options = {}) ⇒ Object



14
15
16
# File 'lib/sapience/metrics.rb', line 14

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

#event(_title, _text, _options = {}) ⇒ Object



38
39
40
# File 'lib/sapience/metrics.rb', line 38

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

#gauge(_metric, _amount, _options = {}) ⇒ Object



22
23
24
# File 'lib/sapience/metrics.rb', line 22

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

#histogram(_metric, _amount, _options = {}) ⇒ Object



18
19
20
# File 'lib/sapience/metrics.rb', line 18

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

#increment(_metric, _options = {}) ⇒ Object



10
11
12
# File 'lib/sapience/metrics.rb', line 10

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

#time(_metric, _options = {}, &_block) ⇒ Object



30
31
32
# File 'lib/sapience/metrics.rb', line 30

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

#timing(_metric, _duration = 0, _options = {}) ⇒ Object



6
7
8
# File 'lib/sapience/metrics.rb', line 6

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