Class: TCellAgent::SensorEvents::MetricsEvent
- Inherits:
-
TCellSensorEvent
- Object
- Hash
- TCellSensorEvent
- TCellAgent::SensorEvents::MetricsEvent
- Defined in:
- lib/tcell_agent/sensor_events/metrics.rb
Instance Attribute Summary
Attributes inherited from TCellSensorEvent
Instance Method Summary collapse
-
#initialize ⇒ MetricsEvent
constructor
A new instance of MetricsEvent.
- #set_route_count_table(route_count_table) ⇒ Object
Methods inherited from TCellSensorEvent
#bucket_key, #calculateOffset, #post_process
Constructor Details
#initialize ⇒ MetricsEvent
Returns a new instance of MetricsEvent.
32 33 34 |
# File 'lib/tcell_agent/sensor_events/metrics.rb', line 32 def initialize() super("metrics") end |
Instance Method Details
#set_route_count_table(route_count_table) ⇒ Object
35 36 37 |
# File 'lib/tcell_agent/sensor_events/metrics.rb', line 35 def set_route_count_table(route_count_table) self["rct"] = route_count_table end |