module MetricFu

Load a few things to make our lives easier elsewhere.

Constants

AVAILABLE_GRAPHS
AVAILABLE_GRAPH_ENGINES
AVAILABLE_METRICS

A list of metrics which are available in the MetricFu system.

These are metrics which have been developed for the system. Of course, in order to use these metrics, their respective gems must be installed on the system.

LIB_ROOT

Public Class Methods

configuration() click to toggle source

The @@configuration class variable holds a global type configuration object for any parts of the system to use.

# File lib/base/configuration.rb, line 31
def self.configuration
  @@configuration ||= Configuration.new
end
graph() click to toggle source
# File lib/base/graph.rb, line 3
def self.graph
  @graph ||= Graph.new
end
report() click to toggle source

MetricFu.report memoizes access to a Report object, that will be used throughout the lifecycle of the MetricFu app.

# File lib/base/report.rb, line 5
def self.report
  @report ||= Report.new
end