ganymed 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ganymed/collectors/iostat.rb +2 -2
- data/lib/ganymed/version.rb +1 -1
- metadata +4 -4
@@ -11,8 +11,8 @@ collect do
|
|
11
11
|
ios = Struct::IOStat.new(*line.strip.split(/\s+/))
|
12
12
|
next if config.skip_numbered.tap{} and ios.dev =~ /\d+$/
|
13
13
|
next if config.exclude.map {|e| Regexp.new(e).match(ios.dev)}.any?
|
14
|
-
Metriks.derive("os.iostat.#{ios.dev}.rsect").mark(ios.rsect)
|
15
|
-
Metriks.derive("os.iostat.#{ios.dev}.wsect").mark(ios.wsect)
|
14
|
+
Metriks.derive("os.iostat.#{ios.dev}.rsect").mark(ios.rsect.to_i)
|
15
|
+
Metriks.derive("os.iostat.#{ios.dev}.wsect").mark(ios.wsect.to_i)
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
data/lib/ganymed/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ganymed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -222,7 +222,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
222
222
|
version: '0'
|
223
223
|
segments:
|
224
224
|
- 0
|
225
|
-
hash:
|
225
|
+
hash: 3339262442062775781
|
226
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
227
|
none: false
|
228
228
|
requirements:
|
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
231
|
version: '0'
|
232
232
|
segments:
|
233
233
|
- 0
|
234
|
-
hash:
|
234
|
+
hash: 3339262442062775781
|
235
235
|
requirements: []
|
236
236
|
rubyforge_project:
|
237
237
|
rubygems_version: 1.8.24
|