Class: SimpleMetrics::DataPoint::Event
- Defined in:
- lib/simple_metrics/data_point/event.rb
Instance Attribute Summary
Attributes inherited from Base
#id, #name, #sum, #total, #ts, #type, #value
Instance Method Summary collapse
- #combine(dp) ⇒ Object
-
#initialize(attributes) ⇒ Event
constructor
A new instance of Event.
Methods inherited from Base
#attributes, #counter?, #event?, #gauge?, #timestamp, #timing?, #to_s
Constructor Details
#initialize(attributes) ⇒ Event
Returns a new instance of Event.
5 6 7 8 |
# File 'lib/simple_metrics/data_point/event.rb', line 5 def initialize(attributes) super(attributes) @type = 'ev' end |
Instance Method Details
#combine(dp) ⇒ Object
10 11 12 |
# File 'lib/simple_metrics/data_point/event.rb', line 10 def combine(dp) raise "Implement me!" end |