lib/monitoring/librato_notifier.rb
# Log metrics based on the hash passed in.
#
# results:: a hash where the keys represent the source (the resque instance name) and the values
#           are lists of items to be counted.  The items won't be examined, just counted and used in the metric
Log metrics based on the hash passed in.
results:: a hash where the keys represent the source (the resque instance name) and the values
are lists of items to be counted.  The items won't be examined, just counted and used in the metric
Log metrics based on the hash passed in . results :: a hash where the keys represent the source ( the resque instance name ) and the values are lists of items to be counted . The items won ' t be examined just counted and used in the metric
def notify!(check_results)
      check_results.each do |check_result|
        source = [check_result.resque_name,check_result.scope].compact.join(".")
        log_to_librato(source,@type,check_result.check_name,check_result.check_count)
      end
    end
def notify! ( check_results ) check_results . each do | check_result | source = [ check_result . resque_name , check_result . scope ] . compact . join ( "." ) log_to_librato ( source , @type , check_result . check_name , check_result . check_count ) end end
Log metrics based on the hash passed in.
Log metrics based on the hash passed in .
check_results
<not_specific>