Module: AutoScaleWorkers

Defined in:
lib/auto_scale_workers.rb,
lib/auto_scale_workers/version.rb,
lib/auto_scale_workers/collector.rb,
lib/auto_scale_workers/sidekiq_collector.rb

Defined Under Namespace

Classes: Collector, Error, SidekiqCollector

Constant Summary collapse

VERSION =
'0.4.3'

Class Method Summary collapse

Class Method Details

.configObject



16
17
18
# File 'lib/auto_scale_workers/collector.rb', line 16

def self.config
  @config
end

.configs {|@config| ... } ⇒ Object

Yields:



12
13
14
# File 'lib/auto_scale_workers/collector.rb', line 12

def self.configs
  yield(@config)
end

.start_collector(interval) ⇒ Object

Your code goes here…



10
11
12
# File 'lib/auto_scale_workers.rb', line 10

def self.start_collector(interval)
  Collector.start(interval)
end