fluent-plugin-influxdb_metrics 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_influxdb_metrics.rb +2 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
@@ -61,6 +61,7 @@ class Fluent::InfluxdbMetricsOutput < Fluent::BufferedOutput
|
|
61
61
|
metric = {time: time}
|
62
62
|
|
63
63
|
filter_keys.each do |field|
|
64
|
+
field_scored = field.gsub('.', '_')
|
64
65
|
path = field.split('.')
|
65
66
|
rec_pos = record[path.shift]
|
66
67
|
path.each do |p|
|
@@ -68,7 +69,7 @@ class Fluent::InfluxdbMetricsOutput < Fluent::BufferedOutput
|
|
68
69
|
end
|
69
70
|
|
70
71
|
if rec_pos
|
71
|
-
metric[
|
72
|
+
metric[field_scored] = rec_pos
|
72
73
|
end
|
73
74
|
end
|
74
75
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-influxdb_metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
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: 2014-05-
|
12
|
+
date: 2014-05-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|
@@ -107,7 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
107
|
version: '0'
|
108
108
|
segments:
|
109
109
|
- 0
|
110
|
-
hash:
|
110
|
+
hash: -3692202937540698948
|
111
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
112
|
none: false
|
113
113
|
requirements:
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
version: '0'
|
117
117
|
segments:
|
118
118
|
- 0
|
119
|
-
hash:
|
119
|
+
hash: -3692202937540698948
|
120
120
|
requirements: []
|
121
121
|
rubyforge_project:
|
122
122
|
rubygems_version: 1.8.23
|