mongodb-graphite 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/mongodb-graphite +1 -1
- data/lib/mongodb-graphite/configuration.rb +2 -1
- data/mongodb-graphite.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a81de830b3b2d0f78ed894df88f79cef93a50ea
|
4
|
+
data.tar.gz: 784dbbde4b636d33997b03228b8912ada30aa05f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 222a8b4421edb6d13ccf8da5861b657f83b5f38d4022d7d58e738ca388ff25bfa0ccfa97c8af1e70922a03d4add6074098d29976b024d9cc5b8d757d33655593
|
7
|
+
data.tar.gz: ca2565b6f24f143f7a59591b79b1e1818e0f993c68a2f3f885fb034b9b6b0506f8d53400d165bce700e1142ccc45cf22cccdf784dd3cf796e54abb068b0295c9
|
data/bin/mongodb-graphite
CHANGED
@@ -26,7 +26,7 @@ g_host, g_port = config[:graphite].split(':')
|
|
26
26
|
Dir.mkdir config[d] unless Dir.exist?(config[d])
|
27
27
|
end
|
28
28
|
|
29
|
-
Daemons.run_proc(
|
29
|
+
Daemons.run_proc(config[:daemon_name], daemon_options) do
|
30
30
|
@instance_list = MongodbGraphite::InstanceList.new(config)
|
31
31
|
loop do
|
32
32
|
g = Graphite.new( :host => g_host, :port => g_port || '3333' )
|
@@ -13,7 +13,8 @@ module MongodbGraphite
|
|
13
13
|
:graphite => 'localhost:3333',
|
14
14
|
:mongodb => 'localhost:27017',
|
15
15
|
:interval => 3, #in seconds
|
16
|
-
:instances_file => nil
|
16
|
+
:instances_file => nil,
|
17
|
+
:daemon_name => 'mongodb-graphite'
|
17
18
|
}
|
18
19
|
|
19
20
|
config_file_path = File.join(dir, 'config', yml)
|
data/mongodb-graphite.gemspec
CHANGED