memcache2graphite 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/memcache2graphite +1 -1
  2. data/conf.yml +1 -1
  3. metadata +1 -1
@@ -44,7 +44,7 @@ def collect(conf, memcache, graphite, state)
44
44
  type = metrics_filter[metric]
45
45
  to_send = aggregate(metric, value, type, state)
46
46
  if to_send
47
- message[conf["graphite"]["path"].gsub(/<type>/,type).gsub(/<metric>/,metric)] = value
47
+ message[conf["graphite"]["path"].gsub(/<type>/,type).gsub(/<metric>/,metric)] = to_send
48
48
  end
49
49
  end
50
50
  end
data/conf.yml CHANGED
@@ -3,7 +3,7 @@ daemon_name : memcache2graphite_daemon
3
3
  log_dir : /var/log/memcache2graphite/
4
4
  pid_dir : /var/run/memcache2graphite/
5
5
  graphite :
6
- root-path : toto.memcache.my_bucket.<type>.debian-sf
6
+ path : toto.memcache.my_bucket.<type>.debian-sf
7
7
  host : localhost
8
8
  port : 3333
9
9
  type : udp
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memcache2graphite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: