Skip to content
Browse files

doc.

  • Loading branch information...
1 parent 61d8342 commit d3e42195022e35e3893866c90b3cb8d288a86ff4 @dhruvbansal dhruvbansal committed Sep 20, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/graphiterb/monitors.rb
View
4 lib/graphiterb/monitors.rb
@@ -54,7 +54,7 @@ def initialize main_scope, options={}
self.current_iter = 0
self.options = options
self.time_interval = options[:time] || 30
- self.iter_interval = options[:iters] || 30
+ self.iter_interval = options[:iters] || 30
end
# The Graphiterb::Sender used to communicate with the Graphite
@@ -137,7 +137,7 @@ def periodically &block
# last ran and insert metrics into the array.")
#
# @param [Array<String>] metrics
- # @param [Time] since the last time the monitor ran
+ # @param [Float] since the number of seconds since the last time the monitor ran
def get_metrics metrics, since
raise Graphiterb::NotImplementedError.new("Override the get_metrics method of the #{self.class} class")
end

0 comments on commit d3e4219

Please sign in to comment.
Something went wrong with that request. Please try again.