Skip to content

Commit

Permalink
Don't try to send the mean for a meter
Browse files Browse the repository at this point in the history
  • Loading branch information
eric committed Feb 11, 2012
1 parent dbd4b61 commit 5eeac38
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/metriks_log_webhook/metric_list.rb
Expand Up @@ -6,7 +6,7 @@ class MetricList
def initialize(memcached, interval)
@memcached = memcached
@interval = interval

@gauges = {}
@counters = []
end
Expand Down Expand Up @@ -42,8 +42,7 @@ def add_utilization_timer(data)
end

def add_meter(data)
sum_gauge(data[:name] + '.mean', data[:time], data[:source], data[:mean])
sum_gauge(data[:name] + '.one_minute_rate', data[:time], data[:source], data[:one_minute_rate])
sum_gauge(data[:name], data[:time], data[:source], data[:one_minute_rate])
end

def to_hash
Expand Down

0 comments on commit 5eeac38

Please sign in to comment.