Class: Nephelae::NephelaeProcess
- Defined in:
- lib/nephelae/plugins/nephelae_process.rb
Instance Attribute Summary
Attributes inherited from Plugin
Instance Method Summary collapse
Methods inherited from Plugin
Constructor Details
This class inherits a constructor from Nephelae::Plugin
Instance Method Details
#get_metrics ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/nephelae/plugins/nephelae_process.rb', line 5 def get_metrics metrics = Metrics.new(namespace) #if we are doing this we are up metrics.append_metric('Up', 1) return metrics end |