logstash-output-metriccatcher 2.0.4 → 3.0.0

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: 67fae8500d51a090ff437c95c33882837d63ad78
4
- data.tar.gz: 10618b8673f38590228ab7753040f7591b674bbb
3
+ metadata.gz: cc39be8d78a578e0fa271c8be4145bb3e07454df
4
+ data.tar.gz: 05b05f0cfc605946119d0826265ef1c306f6f567
5
5
  SHA512:
6
- metadata.gz: a56fb50efa38c7d837dd6a3c3550e77bbe648bfac865b91e12fb5573146cc6e1324bf3c90d0c3ddc770abd037ecd927b34f2226c0d72f9c339573a7987c6e875
7
- data.tar.gz: 0a11370f95178c48ff8fc90bbd6d087ca0fa88ac416056b86c3f8e13f4c3cf0044515b06fcfedf78de29a898953e0671527517c2d6a3b4c4f2cf3ec7c5714de1
6
+ metadata.gz: 8a26fc0bf5846638ffcf45e535baa49eb94830926f23653491ffa68d662a740e7b3fe8633b30e6e75a1a9c44e227c7dd5666d6f60448a54e70b10091d7307c1b
7
+ data.tar.gz: cbce6cc7f1063d72f6c388cc3bff2aad89510e371fcf329592ce87b7e938eeaa2dafcadd8a46cdd7c71b9260e427a1d40e861fd493dd8efadd565043afeed3b6
data/CHANGELOG.md CHANGED
@@ -1,9 +1,15 @@
1
- # 2.0.4
1
+ ## 3.0.0
2
+ - update to the new plugin api
3
+ - update travis.yml
4
+ - relax constrains on logstash-core-plugin-api
5
+
6
+ ## 2.0.4
2
7
  - Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
3
- # 2.0.3
8
+
9
+ ## 2.0.3
4
10
  - New dependency requirements for logstash-core for the 5.0 release
11
+
5
12
  ## 2.0.0
6
13
  - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
7
14
  instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
8
15
  - Dependency on logstash-core update to 2.0
9
-
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012–2015 Elasticsearch <http://www.elastic.co>
1
+ Copyright (c) 2012–2016 Elasticsearch <http://www.elastic.co>
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # Logstash Plugin
2
2
 
3
- [![Build
4
- Status](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Outputs/job/logstash-plugin-output-metriccatcher-unit/badge/icon)](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Outputs/job/logstash-plugin-output-metriccatcher-unit/)
3
+ [![Travis Build Status](https://travis-ci.org/logstash-plugins/logstash-output-metriccatcher.svg)](https://travis-ci.org/logstash-plugins/logstash-output-metriccatcher)
5
4
 
6
5
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
7
6
 
@@ -56,7 +55,12 @@ gem "logstash-filter-awesome", :path => "/your/local/logstash-filter-awesome"
56
55
  ```
57
56
  - Install plugin
58
57
  ```sh
58
+ # Logstash 2.3 and higher
59
+ bin/logstash-plugin install --no-verify
60
+
61
+ # Prior to Logstash 2.3
59
62
  bin/plugin install --no-verify
63
+
60
64
  ```
61
65
  - Run Logstash with your plugin
62
66
  ```sh
@@ -74,7 +78,12 @@ gem build logstash-filter-awesome.gemspec
74
78
  ```
75
79
  - Install the plugin from the Logstash home
76
80
  ```sh
77
- bin/plugin install /your/local/plugin/logstash-filter-awesome.gem
81
+ # Logstash 2.3 and higher
82
+ bin/logstash-plugin install --no-verify
83
+
84
+ # Prior to Logstash 2.3
85
+ bin/plugin install --no-verify
86
+
78
87
  ```
79
88
  - Start Logstash and proceed to test the plugin
80
89
 
@@ -3,7 +3,6 @@ require "logstash/outputs/base"
3
3
  require "logstash/namespace"
4
4
  require "logstash/json"
5
5
 
6
-
7
6
  # This output ships metrics to MetricCatcher, allowing you to
8
7
  # utilize Coda Hale's Metrics.
9
8
  #
@@ -86,8 +85,6 @@ class LogStash::Outputs::MetricCatcher < LogStash::Outputs::Base
86
85
 
87
86
  public
88
87
  def receive(event)
89
-
90
-
91
88
  @@metric_types.each do |metric_type|
92
89
  if instance_variable_defined?("@#{metric_type}")
93
90
  instance_variable_get("@#{metric_type}").each do |metric_name, metric_value|
@@ -1,10 +1,9 @@
1
1
  Gem::Specification.new do |s|
2
-
3
2
  s.name = 'logstash-output-metriccatcher'
4
- s.version = '2.0.4'
3
+ s.version = '3.0.0'
5
4
  s.licenses = ['Apache License (2.0)']
6
5
  s.summary = "This output ships metrics to MetricCatcher"
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"
6
+ s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
8
7
  s.authors = ["Elastic"]
9
8
  s.email = 'info@elastic.co'
10
9
  s.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
@@ -20,8 +19,7 @@ Gem::Specification.new do |s|
20
19
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
21
20
 
22
21
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core-plugin-api", "~> 1.0"
24
-
22
+ s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
25
23
  s.add_development_dependency 'logstash-devutils'
26
24
  end
27
25
 
@@ -1 +1,2 @@
1
+ # encoding: utf-8
1
2
  require "logstash/devutils/rspec/spec_helper"
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-metriccatcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 3.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: 2016-03-24 00:00:00.000000000 Z
11
+ date: 2016-09-10 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
- - - "~>"
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '1.60'
19
+ - - "<="
17
20
  - !ruby/object:Gem::Version
18
- version: '1.0'
21
+ version: '2.99'
19
22
  name: logstash-core-plugin-api
20
23
  prerelease: false
21
24
  type: :runtime
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.60'
30
+ - - "<="
25
31
  - !ruby/object:Gem::Version
26
- version: '1.0'
32
+ version: '2.99'
27
33
  - !ruby/object:Gem::Dependency
28
34
  requirement: !ruby/object:Gem::Requirement
29
35
  requirements:
@@ -38,7 +44,7 @@ dependencies:
38
44
  - - ">="
39
45
  - !ruby/object:Gem::Version
40
46
  version: '0'
41
- 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
47
+ description: This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program
42
48
  email: info@elastic.co
43
49
  executables: []
44
50
  extensions: []