logstash-output-statsd 1.1.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +0 -2
- data/logstash-output-statsd.gemspec +3 -3
- data/spec/outputs/statsd_spec.rb +3 -9
- metadata +6 -14
- data/.gitignore +0 -4
- data/Rakefile +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7156b6676005454808894e80d22b6720df2ce9e
|
4
|
+
data.tar.gz: 45427e43fded473145a79798aa23b1d3e14f1370
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b9c9c53cfb45bfe483b9987f3de8f38548cb82fc93534a1ed86355cd4af88370f9f7d2a9fe1a6d0eb054e4377663573869ac9b606f670a175e8ddef016d041f
|
7
|
+
data.tar.gz: 578c4a87e71e140d77e54ff98e0882d5aa21b502845add8f6c1fa500d5fceca1d13be6ec7e9babd3e6daa591f9afe8f5ca59b03843517bcab7a1b133bb759dee
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-statsd'
|
4
|
-
s.version = '
|
4
|
+
s.version = '2.0.0'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Send metrics to StatsD"
|
7
7
|
s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.require_paths = ["lib"]
|
12
12
|
|
13
13
|
# Files
|
14
|
-
s.files =
|
14
|
+
s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
|
15
15
|
|
16
16
|
# Tests
|
17
17
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
|
21
21
|
|
22
22
|
# Gem dependencies
|
23
|
-
s.add_runtime_dependency "logstash-core",
|
23
|
+
s.add_runtime_dependency "logstash-core", "~> 2.0.0.snapshot"
|
24
24
|
s.add_runtime_dependency 'logstash-input-generator'
|
25
25
|
|
26
26
|
s.add_runtime_dependency 'statsd-ruby', ['1.2.0']
|
data/spec/outputs/statsd_spec.rb
CHANGED
@@ -5,10 +5,9 @@ require_relative "../spec_helper"
|
|
5
5
|
describe LogStash::Outputs::Statsd do
|
6
6
|
|
7
7
|
let(:host) { "localhost" }
|
8
|
-
let(:port) {
|
9
|
-
let!(:server) { StatsdServer.new.run(port) }
|
8
|
+
let(:port) { @server.port }
|
10
9
|
|
11
|
-
describe "registration and
|
10
|
+
describe "registration and close" do
|
12
11
|
|
13
12
|
it "should register without errors" do
|
14
13
|
output = LogStash::Plugin.lookup("output", "statsd").new
|
@@ -39,12 +38,7 @@ describe LogStash::Outputs::Statsd do
|
|
39
38
|
|
40
39
|
it "should receive data send to the server" do
|
41
40
|
subject.receive(event)
|
42
|
-
|
43
|
-
# we might experience delays or timing issues.
|
44
|
-
# lets try a few times before giving up completely.
|
45
|
-
try {
|
46
|
-
expect(server.received).to include("logstash.spec.foo.bar:0.1|c")
|
47
|
-
}
|
41
|
+
expect(@server.received).to include("logstash.spec.foo.bar:0.1|c")
|
48
42
|
end
|
49
43
|
|
50
44
|
end
|
metadata
CHANGED
@@ -1,35 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-statsd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- -
|
17
|
-
- !ruby/object:Gem::Version
|
18
|
-
version: 1.4.0
|
19
|
-
- - <
|
16
|
+
- - ~>
|
20
17
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.0.0
|
18
|
+
version: 2.0.0.snapshot
|
22
19
|
name: logstash-core
|
23
20
|
prerelease: false
|
24
21
|
type: :runtime
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 1.4.0
|
30
|
-
- - <
|
24
|
+
- - ~>
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version: 2.0.0
|
26
|
+
version: 2.0.0.snapshot
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
requirement: !ruby/object:Gem::Requirement
|
35
29
|
requirements:
|
@@ -78,14 +72,12 @@ executables: []
|
|
78
72
|
extensions: []
|
79
73
|
extra_rdoc_files: []
|
80
74
|
files:
|
81
|
-
- .gitignore
|
82
75
|
- CHANGELOG.md
|
83
76
|
- CONTRIBUTORS
|
84
77
|
- Gemfile
|
85
78
|
- LICENSE
|
86
79
|
- NOTICE.TXT
|
87
80
|
- README.md
|
88
|
-
- Rakefile
|
89
81
|
- lib/logstash/outputs/statsd.rb
|
90
82
|
- logstash-output-statsd.gemspec
|
91
83
|
- spec/outputs/statsd_spec.rb
|
data/.gitignore
DELETED