Class: SimpleMetrics::DataPoint::Timing

Inherits:
Base
  • Object
show all
Defined in:
lib/simple_metrics/data_point/timing.rb

Instance Attribute Summary

Attributes inherited from Base

#id, #name, #sum, #total, #ts, #type, #value

Instance Method Summary collapse

Methods inherited from Base

#attributes, #counter?, #event?, #gauge?, #timestamp, #timing?, #to_s

Constructor Details

#initialize(attributes) ⇒ Timing



5
6
7
8
# File 'lib/simple_metrics/data_point/timing.rb', line 5

def initialize(attributes)
  super(attributes)
  @type = 'ms'
end

Instance Method Details

#combine(dp) ⇒ Object



10
11
12
# File 'lib/simple_metrics/data_point/timing.rb', line 10

def combine(dp)
  raise "Implement me!"
end