fluent-plugin-statsd-output 1.2.0 → 1.3.0
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.
- checksums.yaml +4 -4
- data/.travis.yml +17 -0
- data/README.md +2 -0
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_statsd.rb +3 -1
- data/spec/plugin/out_statsd_spec.rb +1 -0
- metadata +4 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e02ca71e2584cc505e7d2cd91786b363f5a5f8ea
|
|
4
|
+
data.tar.gz: 0fa458b0c88ef4b7c231a75953f62dcf9d5c176f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b7751ed95c4d45e9c772419104a3c507a115c30f849c99af691c2fb5e6f278bf9e3a0835073a34c9a99b0f9441015a169db8b3134646c2cea70253e6634e5fe3
|
|
7
|
+
data.tar.gz: 0fffe9cfdc7a6b5fd0b7601536ba3b8090cf2eb628178efb721d1cd8a0b12c9e5efe9be390529af186b36a569088e80102ecd6b3c43f4a36c9842c12652104f8
|
data/.travis.yml
ADDED
data/README.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.3.0
|
|
@@ -26,7 +26,7 @@ module Fluent
|
|
|
26
26
|
|
|
27
27
|
def configure(conf)
|
|
28
28
|
super
|
|
29
|
-
@statsd = Statsd.new(host, port)
|
|
29
|
+
@statsd = Statsd::Batch.new(Statsd.new(host, port))
|
|
30
30
|
@statsd.namespace = namespace if namespace
|
|
31
31
|
|
|
32
32
|
if batch_byte_size
|
|
@@ -45,6 +45,7 @@ module Fluent
|
|
|
45
45
|
|
|
46
46
|
def shutdown
|
|
47
47
|
super
|
|
48
|
+
@statsd.flush
|
|
48
49
|
end
|
|
49
50
|
|
|
50
51
|
def format(tag, time, record)
|
|
@@ -60,6 +61,7 @@ module Fluent
|
|
|
60
61
|
send_to_statsd(*metric.values_at(*arg_names).map {|str| parser.parse(str) })
|
|
61
62
|
end
|
|
62
63
|
end
|
|
64
|
+
@statsd.flush
|
|
63
65
|
end
|
|
64
66
|
|
|
65
67
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-statsd-output
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Song
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-09-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|
|
@@ -88,6 +88,7 @@ extra_rdoc_files: []
|
|
|
88
88
|
files:
|
|
89
89
|
- ".gitignore"
|
|
90
90
|
- ".rspec"
|
|
91
|
+
- ".travis.yml"
|
|
91
92
|
- AUTHORS
|
|
92
93
|
- Gemfile
|
|
93
94
|
- Gemfile.lock
|
|
@@ -95,7 +96,6 @@ files:
|
|
|
95
96
|
- VERSION
|
|
96
97
|
- fluent-plugin-statsd.gemspec
|
|
97
98
|
- lib/fluent/plugin/out_statsd.rb
|
|
98
|
-
- spec/examples.txt
|
|
99
99
|
- spec/plugin/out_statsd_spec.rb
|
|
100
100
|
- spec/spec_helper.rb
|
|
101
101
|
homepage: https://github.com/lingochamp/fluent-plugin-statsd
|
|
@@ -117,11 +117,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
117
117
|
version: '0'
|
|
118
118
|
requirements: []
|
|
119
119
|
rubyforge_project:
|
|
120
|
-
rubygems_version: 2.6.
|
|
120
|
+
rubygems_version: 2.6.13
|
|
121
121
|
signing_key:
|
|
122
122
|
specification_version: 4
|
|
123
123
|
summary: fluentd output filter plugin to send metrics to Esty StatsD
|
|
124
124
|
test_files:
|
|
125
|
-
- spec/examples.txt
|
|
126
125
|
- spec/plugin/out_statsd_spec.rb
|
|
127
126
|
- spec/spec_helper.rb
|