statsdserver 0.7 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/statsdserver.rb +3 -3
  2. metadata +2 -2
data/lib/statsdserver.rb CHANGED
@@ -188,12 +188,12 @@ class StatsdServer
188
188
  updates << [metric_name("timers.#{key}.mean"),
189
189
  summary[:mean], now].join(" ")
190
190
  updates << [metric_name("timers.#{key}.upper"),
191
- summary[:upper], now].join(" ")
191
+ summary[:max], now].join(" ")
192
192
  updates << [metric_name("timers.#{key}.lower"),
193
- summary[:lower], now].join(" ")
193
+ summary[:min], now].join(" ")
194
194
  updates << [metric_name("timers.#{key}.count"),
195
195
  values.length, now].join(" ")
196
- updates << [metric_name("timers.#{key}.upper_#{@opts[:percentile]}"),
196
+ updates << [metric_name("timers.#{key}.upper_#{@opts[:percentile].to_i}"),
197
197
  summary[:max_at_threshold], now].join(" ")
198
198
  end # timers.each
199
199
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statsdserver
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: '0.8'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-07 00:00:00.000000000 Z
12
+ date: 2012-10-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler