logstash-output-datadog_metrics 0.1.5 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2fff9b69ded858abede9d1a806c1d452468070f
4
- data.tar.gz: 6c8f8901fd704553ff0d71ba9edde9e33aaa23e2
3
+ metadata.gz: 70d97bdfc1a0b64d38bb49b64670048dc690ba54
4
+ data.tar.gz: 2cb76855819c29dcce23970cdc37c811801a5c95
5
5
  SHA512:
6
- metadata.gz: 8a36d244ccff5ec85ce4961b874d96e2572f13443f922365e9852bc73246c67b6ce48db1f22db14ce2fa1e7190c77a74eee25de2385a373159ba6b13cf3e4449
7
- data.tar.gz: 760bf4fa251879d738f1fb39020f36eb4024cfcbb6ef9de7f53f291ed446c944997a76bc297c4923d14134504a5f4e1cb6fa63439fb4a413ba60ffda8234dca6
6
+ metadata.gz: 82f67b21f2f50d2e3877dba4bea9e2efd6a0242fba4f5b075180788b43d0f5f14568a24f1a8b872d037b9803bde85ca36c695bb2aa7667b776e7c1921e11ce84
7
+ data.tar.gz: 606250fe09367ae70b6e87ef818b0a03baea4e000a2d3b435b78c4977351a6bcff883c01c797703b65a5612e0cdaea8328af13c05efb9f73162ca38e48121f6a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 2.0.0
2
+ - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
3
+ instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
4
+ - Dependency on logstash-core update to 2.0
5
+
1
6
  ## 0.1.5
2
7
  - use new Json and Timestamp API
3
8
  - better coersion of the event.timestamp: can be Time, Timestamp or String
@@ -66,7 +66,7 @@ module LogStash module Outputs class DatadogMetrics < LogStash::Outputs::Base
66
66
 
67
67
  # public
68
68
  def receive(event)
69
- return unless output?(event)
69
+
70
70
  return unless @metric_name && @metric_value && @metric_type
71
71
  return unless ["gauge", "counter"].include? event.sprintf(@metric_type)
72
72
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-datadog_metrics'
4
- s.version = '0.1.5'
4
+ s.version = '2.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This output lets you send metrics to DataDogHQ based on Logstash events."
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 = `git ls-files`.split($\)+::Dir.glob('vendor/*')
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", '>= 1.4.0', '< 2.0.0'
23
+ s.add_runtime_dependency "logstash-core", ">= 2.0.0.snapshot", "< 3.0.0"
24
24
  s.add_runtime_dependency "logstash-codec-plain", '>= 1.0.0'
25
25
 
26
26
  s.add_development_dependency 'logstash-devutils'
metadata CHANGED
@@ -1,77 +1,75 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-datadog_metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-27 00:00:00.000000000 Z
11
+ date: 2015-10-08 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: 1.4.0
20
- - - <
21
- - !ruby/object:Gem::Version
22
- version: 2.0.0
23
14
  requirement: !ruby/object:Gem::Requirement
24
15
  requirements:
25
16
  - - '>='
26
17
  - !ruby/object:Gem::Version
27
- version: 1.4.0
18
+ version: 2.0.0.snapshot
28
19
  - - <
29
20
  - !ruby/object:Gem::Version
30
- version: 2.0.0
21
+ version: 3.0.0
22
+ name: logstash-core
31
23
  prerelease: false
32
24
  type: :runtime
33
- - !ruby/object:Gem::Dependency
34
- name: logstash-codec-plain
35
25
  version_requirements: !ruby/object:Gem::Requirement
36
26
  requirements:
37
27
  - - '>='
38
28
  - !ruby/object:Gem::Version
39
- version: 1.0.0
29
+ version: 2.0.0.snapshot
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: 3.0.0
33
+ - !ruby/object:Gem::Dependency
40
34
  requirement: !ruby/object:Gem::Requirement
41
35
  requirements:
42
36
  - - '>='
43
37
  - !ruby/object:Gem::Version
44
38
  version: 1.0.0
39
+ name: logstash-codec-plain
45
40
  prerelease: false
46
41
  type: :runtime
47
- - !ruby/object:Gem::Dependency
48
- name: logstash-devutils
49
42
  version_requirements: !ruby/object:Gem::Requirement
50
43
  requirements:
51
44
  - - '>='
52
45
  - !ruby/object:Gem::Version
53
- version: '0'
46
+ version: 1.0.0
47
+ - !ruby/object:Gem::Dependency
54
48
  requirement: !ruby/object:Gem::Requirement
55
49
  requirements:
56
50
  - - '>='
57
51
  - !ruby/object:Gem::Version
58
52
  version: '0'
53
+ name: logstash-devutils
59
54
  prerelease: false
60
55
  type: :development
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
61
  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
62
62
  email: info@elastic.co
63
63
  executables: []
64
64
  extensions: []
65
65
  extra_rdoc_files: []
66
66
  files:
67
- - .gitignore
68
67
  - CHANGELOG.md
69
68
  - CONTRIBUTORS
70
69
  - Gemfile
71
70
  - LICENSE
72
71
  - NOTICE.TXT
73
72
  - README.md
74
- - Rakefile
75
73
  - lib/logstash/outputs/datadog_metrics.rb
76
74
  - logstash-output-datadog_metrics.gemspec
77
75
  - spec/outputs/datadog_metrics_spec.rb
@@ -97,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
95
  version: '0'
98
96
  requirements: []
99
97
  rubyforge_project:
100
- rubygems_version: 2.1.9
98
+ rubygems_version: 2.4.8
101
99
  signing_key:
102
100
  specification_version: 4
103
101
  summary: This output lets you send metrics to DataDogHQ based on Logstash events.
data/.gitignore DELETED
@@ -1,4 +0,0 @@
1
- *.gem
2
- Gemfile.lock
3
- .bundle
4
- vendor
data/Rakefile DELETED
@@ -1,7 +0,0 @@
1
- @files=[]
2
-
3
- task :default do
4
- system("rake -T")
5
- end
6
-
7
- require "logstash/devutils/rake"