riemann-babbler 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -25,7 +25,7 @@ riemann:
25
25
  tags: # таги которые будут сообшатся
26
26
  - prod
27
27
  - web
28
- suffix: ".testing" # окончание `hostname`
28
+ suffix: ".testing" # окончание `hostname` в граффите как начало
29
29
 
30
30
  plugins:
31
31
  dirs:
@@ -12,7 +12,8 @@ class Riemann::Babbler::Disk
12
12
  next unless f[0] =~ /^\//
13
13
  next if f[0] == 'Filesystem'
14
14
  x = f[4].to_f/100
15
- disk.merge!({f[5] => x})
15
+ point = (f[5] == '/' ? "/root" : f[5] )
16
+ disk.merge!({point => x})
16
17
  end
17
18
  disk
18
19
  end
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  module Babbler
3
- VERSION = '0.0.8'
3
+ VERSION = '0.0.9'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-babbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -131,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  segments:
133
133
  - 0
134
- hash: -2361342035271252728
134
+ hash: -1814683079144820390
135
135
  required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  none: false
137
137
  requirements: