god.rb

Path: lib/god.rb
Last Update: Thu Apr 18 23:46:48 +0000 2013

Bail out before loading anything unless this flag is set.

We are doing this to guard against bundler autoloading because there is no value in loading god in most processes.

Required files

stringio   fileutils   fastthread   thread   god/errors   god/simple_logger   god/logger   god/sugar   god/system/process   god/system/portable_poller   god/system/slash_proc_poller   god/timeline   god/configurable   god/task   god/behavior   god/behaviors/clean_pid_file   god/behaviors/clean_unix_socket   god/behaviors/notify_when_flapping   god/condition   god/conditions/process_running   god/conditions/process_exits   god/conditions/tries   god/conditions/memory_usage   god/conditions/cpu_usage   god/conditions/always   god/conditions/lambda   god/conditions/degrading_lambda   god/conditions/flapping   god/conditions/http_response_code   god/conditions/disk_usage   god/conditions/complex   god/conditions/file_mtime   god/conditions/socket_responding   god/socket   god/driver   god/metric   god/watch   god/trigger   god/event_handler   god/registry   god/process   god/cli/version   god/cli/command   god/contact  

Methods

Constants

CONTACT_DEPS = { }
CONTACT_LOAD_SUCCESS = { }
LOG = God::Logger.new   App wide logging system
GOD_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))

Public Instance methods

Return the binding of god‘s root level

[Validate]