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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f8e6fdcff152033e9dfc9996a7f2b4a970bf2fa
4
- data.tar.gz: af4a354f5e80cbe01be0526b9a1ad9577f0e0190
3
+ metadata.gz: 7a81de830b3b2d0f78ed894df88f79cef93a50ea
4
+ data.tar.gz: 784dbbde4b636d33997b03228b8912ada30aa05f
5
5
  SHA512:
6
- metadata.gz: 2eb334866d958de8ea3e1626a16fba2c0ea11ad2f623096bcefd4d0614c7aa3f1b15f7a1a88571142527e72118cd1da87fcb1d5e1e29f9c2641c73f86d585aec
7
- data.tar.gz: d6d4411ca315ba06323dd644c7db8c4eb6734a4dd4634a39700c6c1a07d96d4a211f32a0d0ce7e347c460b3eeba2b16b32deca14c9aaebc214032a079d5ae2cf
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('mongodb-graphite', daemon_options) do
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)
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "mongodb-graphite"
6
- s.version = '1.0.4'
6
+ s.version = '1.0.5'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Grégoire Seux"]
9
9
  s.email = ["g.seux@criteo.com"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongodb-graphite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grégoire Seux