Sha256: 0906750216a4142dd18c780fe44581dae3cd91da6c13e00641036e744f014390

Contents?: true

Size: 896 Bytes

Versions: 6

Compression:

Stored size: 896 Bytes

Contents

require 'socket'
require 'logger'

require 'configliere'
Configliere.use :define
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

require 'graphiterb/graphite_sender'
module Graphiterb
  autoload :GraphiteLogger,       'graphiterb/graphite_logger'
  autoload :GraphiteSystemLogger, 'graphiterb/graphite_system_logger'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
graphiterb-0.1.5 lib/graphiterb.rb
graphiterb-0.1.4 lib/graphiterb.rb
graphiterb-0.1.3 lib/graphiterb.rb
graphiterb-0.1.2 lib/graphiterb.rb
graphiterb-0.1.1 lib/graphiterb.rb
graphiterb-0.1.0 lib/graphiterb.rb