fluent-plugin-metricsense 0.2.14 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_metricsense.rb +5 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a14ac0f9b4f2783eb8147828e96595f1d95f90be
|
4
|
+
data.tar.gz: 5953b51ea70ccb737fbde71b56f7bc99d45d88aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d2cbc44ecb6f2a92d6ff225d33a8c5d500a4ebed48e1d0b2e211900d06060e9fd72785b95d07d6ede888bf3e7edc56fa4101f3a424dbe47631808baa984c2e3
|
7
|
+
data.tar.gz: 913fe134f124081c7c392ad2ce84da0a20e36757a13ed3f5e407532b9adf4961081f06287f7e6be01ac3190875ef6028a129c87362b2b4ab1d9139d6733850f2
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
@@ -128,13 +128,16 @@ module Fluent
|
|
128
128
|
# get value
|
129
129
|
value = record.delete(@value_key)
|
130
130
|
|
131
|
-
# ignore record if value is
|
131
|
+
# ignore record if value is missing
|
132
|
+
next if value.nil?
|
133
|
+
|
134
|
+
# ignore record if value is invalid
|
132
135
|
begin
|
133
136
|
fv = value.to_f
|
134
137
|
rescue
|
135
138
|
next
|
136
139
|
end
|
137
|
-
next if fv
|
140
|
+
next if fv.nan? || fv.infinite?
|
138
141
|
|
139
142
|
# use integer if value.to_f == value.to_f.to_i
|
140
143
|
iv = fv.to_i
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-metricsense
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
120
|
rubyforge_project:
|
121
|
-
rubygems_version: 2.4.
|
121
|
+
rubygems_version: 2.4.5
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: MetricSense - application metrics aggregation plugin for Fluentd
|