statsd 0.5.3 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,7 +35,6 @@ module Statsd
35
35
 
36
36
  # store counters
37
37
  counters.each_pair do |key,value|
38
- value /= flush_interval
39
38
  message = "stats.#{key} #{value} #{ts}\n"
40
39
  stat_string += message
41
40
  counters[key] = 0
@@ -23,7 +23,6 @@ module Statsd
23
23
 
24
24
  # store counters
25
25
  counters.each_pair do |key,value|
26
- value /= flush_interval
27
26
  doc = {:stat => key, :value => value, :ts => ts_bucket, :type => "counter" }
28
27
  docs.push(doc)
29
28
  counters[key] = 0
@@ -3,7 +3,7 @@ require 'yaml'
3
3
  require 'erb'
4
4
  module Statsd
5
5
  module Server #< EM::Connection
6
- Version = '0.5.3'
6
+ Version = '0.5.4'
7
7
 
8
8
  FLUSH_INTERVAL = 10
9
9
  COUNTERS = {}
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: statsd
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.3
5
+ version: 0.5.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andrew Coldham
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-05-16 00:00:00 -07:00
14
+ date: 2011-05-17 00:00:00 -07:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency