memcache2graphite 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/memcache2graphite +1 -1
- data/conf.yml +1 -1
- metadata +1 -1
data/bin/memcache2graphite
CHANGED
@@ -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)] =
|
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
|
-
|
6
|
+
path : toto.memcache.my_bucket.<type>.debian-sf
|
7
7
|
host : localhost
|
8
8
|
port : 3333
|
9
9
|
type : udp
|