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, #calculate_offset, #post_process
Constructor Details
#initialize ⇒ 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
36 37 38 |
# File 'lib/tcell_agent/sensor_events/metrics.rb', line 36 def set_route_count_table(route_count_table) self['rct'] = route_count_table end |