Sha256: 6403dfc503ff51d59633262e7629829f946e78c0fae8fec6bff94eddde544e25
Contents?: true
Size: 995 Bytes
Versions: 6
Compression:
Stored size: 995 Bytes
Contents
require 'graphiterb/utils' module Graphiterb autoload :Monitors, 'graphiterb/monitors' autoload :Sender, 'graphiterb/sender' end Settings.use :define, :config_file Settings.define :log, :default => STDOUT, :description => "Log output for Graphiterb" Settings.define :carbon_server, :default => 'localhost', :description => "Host address for carbon database server", :required => true Settings.define :carbon_port, :default => '2003', :description => "Port for carbon database server", :required => true Settings.define :update_delay, :default => 30, :description => "How long to wait between updates. Must be faster than the value in the graphite/conf/storage-schemas", :required => true, :type => Integer Settings.define :on_error_delay, :default => 0.1, :description => "How long to wait on connect errors", :required => true, :type => Float Settings.read '/etc/graphiterb/graphiterb.yaml' if File.exist? '/etc/graphiterb/graphiterb.yaml'
Version data entries
6 entries across 6 versions & 1 rubygems