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



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

def batch(&_block)
  fail NotImplementedError
end

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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