Skip to content
Browse files

AccumulationsConsumer should not write the last_accumulated_timestamp…

… to Graphite.
  • Loading branch information...
1 parent 6584930 commit 7539290f3cdfea99dc1f3fdf7125e1315b25008a @dhruvbansal dhruvbansal committed Sep 22, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/graphiterb/monitors/accumulations_consumer.rb
View
1 lib/graphiterb/monitors/accumulations_consumer.rb
@@ -62,6 +62,7 @@ def get_metrics metrics, since
interval = now - last_report_timestamp
accumulators.keys.each do |target|
+ next if target == report_timestamp_key
next unless regexp && regexp =~ target
current_count = accumulators.getset(target, 0) rescue 0.0

0 comments on commit 7539290

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