memcache2graphite 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/memcache2graphite +2 -2
- data/conf.yml +2 -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[
|
47
|
+
message[conf["graphite"]["path"].gsub(/<type>/,type).gsub(/<metric>/,metric)] = value
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|
@@ -63,7 +63,7 @@ end
|
|
63
63
|
Daemons.run_proc(conf.fetch("daemon_name", "memcache2graphite"),
|
64
64
|
{
|
65
65
|
:ontop => !conf["daemon_name"],
|
66
|
-
:dir_mode => :
|
66
|
+
:dir_mode => :normal,
|
67
67
|
:log_dir => conf["log_dir"],
|
68
68
|
:log_output => true,
|
69
69
|
:dir => conf["pid_dir"]
|
data/conf.yml
CHANGED