Class: Nephelae::NephelaeProcess

Inherits:
Plugin
  • Object
show all
Defined in:
lib/nephelae/plugins/nephelae_process.rb

Instance Attribute Summary

Attributes inherited from Plugin

#config

Instance Method Summary collapse

Methods inherited from Plugin

#initialize, #namespace

Constructor Details

This class inherits a constructor from Nephelae::Plugin

Instance Method Details

#get_metricsObject



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