logstash-output-dogstatsd 2.0.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/outputs/dogstatsd.rb +1 -10
- data/logstash-output-dogstatsd.gemspec +3 -5
- metadata +33 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc6e959db288aab5d055bd55f6d7cb1d19bbcbf6
|
4
|
+
data.tar.gz: 055307eab460febf4d2dee8b3cfa1f699b226909
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d49d11f78fe50a3b70e0ab34939ae97f53fddeac436477b0f86ccdf05618b00d1f276dd429c587c0aae891eefbaae1f21ee1df2f07381938cda4023a0fbb86dd
|
7
|
+
data.tar.gz: ea5e963d940c6d6e52e4e1ebe6e8e311fa5e81255936f00de5781e4d8ecee530f27726ae51b8b2169b80bc386dd9ddf9dafa3739eef35c007d2dc3aadc7eb296
|
@@ -1,16 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require "logstash/outputs/base"
|
3
3
|
require "logstash/namespace"
|
4
|
-
|
5
|
-
# This is a hack to load the dogstatsd-ruby gem's statsd.rb file into a
|
6
|
-
# namespace so as to not clobber the top-level Statsd provided by the
|
7
|
-
# much-more-popular Statsd gem. The problem is that both gems have a file named
|
8
|
-
# 'statsd.rb' that you are supposed to load. Why did Datadog not name their file
|
9
|
-
# differently? Who knows!
|
10
|
-
# (see: https://github.com/DataDog/dogstatsd-ruby/pull/3)
|
11
|
-
module Datadog
|
12
|
-
module_eval(File.read(Gem.find_files('**/statsd.rb').grep(/dogstatsd/).first))
|
13
|
-
end
|
4
|
+
require "datadog/statsd"
|
14
5
|
|
15
6
|
# dogstatsd is a fork of the statsd protocol which aggregates statistics, such
|
16
7
|
# as counters and timers, and ships them over UDP to the dogstatsd-server
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-dogstatsd'
|
4
|
-
s.version = '
|
4
|
+
s.version = '5.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"
|
@@ -20,12 +20,10 @@ 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", "~> 5.0"
|
24
24
|
s.add_runtime_dependency 'logstash-input-generator'
|
25
25
|
|
26
|
-
|
27
|
-
# gnarly `module_eval` hack in lib/logstash/outputs/dogstatsd.rb.
|
28
|
-
s.add_runtime_dependency 'dogstatsd-ruby', '= 1.6'
|
26
|
+
s.add_runtime_dependency 'dogstatsd-ruby', '~> 3.0'
|
29
27
|
|
30
28
|
s.add_development_dependency 'logstash-devutils'
|
31
29
|
s.add_development_dependency 'overcommit'
|
metadata
CHANGED
@@ -1,91 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-dogstatsd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Dooner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: logstash-core
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 2.0.0.beta2
|
20
|
-
- - <
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 3.0.0
|
23
14
|
requirement: !ruby/object:Gem::Requirement
|
24
15
|
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: 2.0.0.beta2
|
28
|
-
- - <
|
16
|
+
- - "~>"
|
29
17
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
18
|
+
version: '5.0'
|
19
|
+
name: logstash-core
|
31
20
|
prerelease: false
|
32
21
|
type: :runtime
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: logstash-input-generator
|
35
22
|
version_requirements: !ruby/object:Gem::Requirement
|
36
23
|
requirements:
|
37
|
-
- -
|
24
|
+
- - "~>"
|
38
25
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0'
|
26
|
+
version: '5.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
40
28
|
requirement: !ruby/object:Gem::Requirement
|
41
29
|
requirements:
|
42
|
-
- -
|
30
|
+
- - ">="
|
43
31
|
- !ruby/object:Gem::Version
|
44
32
|
version: '0'
|
33
|
+
name: logstash-input-generator
|
45
34
|
prerelease: false
|
46
35
|
type: :runtime
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: dogstatsd-ruby
|
49
36
|
version_requirements: !ruby/object:Gem::Requirement
|
50
37
|
requirements:
|
51
|
-
- -
|
38
|
+
- - ">="
|
52
39
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
54
42
|
requirement: !ruby/object:Gem::Requirement
|
55
43
|
requirements:
|
56
|
-
- -
|
44
|
+
- - "~>"
|
57
45
|
- !ruby/object:Gem::Version
|
58
|
-
version: '
|
46
|
+
version: '3.0'
|
47
|
+
name: dogstatsd-ruby
|
59
48
|
prerelease: false
|
60
49
|
type: :runtime
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: logstash-devutils
|
63
50
|
version_requirements: !ruby/object:Gem::Requirement
|
64
51
|
requirements:
|
65
|
-
- -
|
52
|
+
- - "~>"
|
66
53
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0'
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
68
56
|
requirement: !ruby/object:Gem::Requirement
|
69
57
|
requirements:
|
70
|
-
- -
|
58
|
+
- - ">="
|
71
59
|
- !ruby/object:Gem::Version
|
72
60
|
version: '0'
|
61
|
+
name: logstash-devutils
|
73
62
|
prerelease: false
|
74
63
|
type: :development
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: overcommit
|
77
64
|
version_requirements: !ruby/object:Gem::Requirement
|
78
65
|
requirements:
|
79
|
-
- -
|
66
|
+
- - ">="
|
80
67
|
- !ruby/object:Gem::Version
|
81
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
82
70
|
requirement: !ruby/object:Gem::Requirement
|
83
71
|
requirements:
|
84
|
-
- -
|
72
|
+
- - ">="
|
85
73
|
- !ruby/object:Gem::Version
|
86
74
|
version: '0'
|
75
|
+
name: overcommit
|
87
76
|
prerelease: false
|
88
77
|
type: :development
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
89
83
|
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
|
90
84
|
email: info@elastic.co
|
91
85
|
executables: []
|
@@ -112,17 +106,17 @@ require_paths:
|
|
112
106
|
- lib
|
113
107
|
required_ruby_version: !ruby/object:Gem::Requirement
|
114
108
|
requirements:
|
115
|
-
- -
|
109
|
+
- - ">="
|
116
110
|
- !ruby/object:Gem::Version
|
117
111
|
version: '0'
|
118
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
113
|
requirements:
|
120
|
-
- -
|
114
|
+
- - ">="
|
121
115
|
- !ruby/object:Gem::Version
|
122
116
|
version: '0'
|
123
117
|
requirements: []
|
124
118
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.4.
|
119
|
+
rubygems_version: 2.4.8
|
126
120
|
signing_key:
|
127
121
|
specification_version: 4
|
128
122
|
summary: Send metrics to StatsD
|