Module: Logdash::BaseMetrics

Included in:
Metrics, NoopMetrics
Defined in:
lib/logdash/metrics.rb

Instance Method Summary collapse

Instance Method Details

#mutate(key, value) ⇒ Object

Raises:

  • (NotImplementedError)


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

def mutate(key, value)
  raise NotImplementedError, "#{self.class} has not implemented method 'mutate'"
end

#set(key, value) ⇒ Object

Raises:

  • (NotImplementedError)


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

def set(key, value)
  raise NotImplementedError, "#{self.class} has not implemented method 'set'"
end