module Resque::Plugins::CloudwatchMonitor::Configuration

Attributes

cloudwatch_client[RW]

Public Class Methods

configure() { |self| ... } click to toggle source
# File lib/resque/plugins/cloudwatch-monitor/configuration.rb, line 28
def configure
  yield self
end
do_not_report_on(type) click to toggle source
# File lib/resque/plugins/cloudwatch-monitor/configuration.rb, line 36
def do_not_report_on(type)
  @@report_on[type] = false
end
event_list() click to toggle source
# File lib/resque/plugins/cloudwatch-monitor/configuration.rb, line 52
def event_list
  @@report_on.keys
end
get_namespace_for(type) click to toggle source
# File lib/resque/plugins/cloudwatch-monitor/configuration.rb, line 44
def get_namespace_for(type)
  @@report_namespace[type]
end
report_on(type) click to toggle source
# File lib/resque/plugins/cloudwatch-monitor/configuration.rb, line 40
def report_on(type)
  @@report_on[type] = true
end
set_namespace_for(type, namespace) click to toggle source
# File lib/resque/plugins/cloudwatch-monitor/configuration.rb, line 48
def set_namespace_for(type, namespace)
  @@report_namespace[type] = namespace
end
should_report?(type) click to toggle source
# File lib/resque/plugins/cloudwatch-monitor/configuration.rb, line 32
def should_report?(type)
  @@report_on[type]
end