logstash-filter-metrics 2.0.0 → 2.0.1
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/CHANGELOG.md +5 -0
- data/lib/logstash/filters/metrics.rb +1 -1
- data/logstash-filter-metrics.gemspec +2 -2
- metadata +10 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14bfcc7ed46e44011de8359a884af9cdf09e8a02
|
|
4
|
+
data.tar.gz: 59a090645d909b944f2eb29561fdd42d214daed8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86323e16983633106f122ba803e63213f1a2e9c323975b1c4a7f38bc487bad105a79428d35f5adea1cd9a9a6714e89bafe06ff63c4fa56f8f77b1dc472486c97
|
|
7
|
+
data.tar.gz: d7fb915e11e7ca2fdfe9c93734062f8ad940f1303ccc0ae316550dc533dba56e981c4997f1961c1f25d1de13f6e17ab46115c5c7e9fc14fcb5e421305faa3670
|
data/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
|
|
@@ -158,7 +158,7 @@ class LogStash::Filters::Metrics < LogStash::Filters::Base
|
|
|
158
158
|
end # def register
|
|
159
159
|
|
|
160
160
|
def filter(event)
|
|
161
|
-
|
|
161
|
+
|
|
162
162
|
|
|
163
163
|
# TODO(piavlo): This should probably be moved to base filter class.
|
|
164
164
|
if @ignore_older_than > 0 && Time.now - event.timestamp.time > @ignore_older_than
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-filter-metrics'
|
|
4
|
-
s.version = '2.0.
|
|
4
|
+
s.version = '2.0.1'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "The metrics filter is useful for aggregating metrics."
|
|
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,7 +20,7 @@ Gem::Specification.new do |s|
|
|
|
20
20
|
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "filter" }
|
|
21
21
|
|
|
22
22
|
# Gem dependencies
|
|
23
|
-
s.add_runtime_dependency "logstash-core", "
|
|
23
|
+
s.add_runtime_dependency "logstash-core", ">= 2.0.0.snapshot", "< 3.0.0"
|
|
24
24
|
s.add_runtime_dependency "metriks" #(MIT license)
|
|
25
25
|
s.add_runtime_dependency "thread_safe"
|
|
26
26
|
|
metadata
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-filter-metrics
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
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-
|
|
11
|
+
date: 2015-10-08 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
17
|
- !ruby/object:Gem::Version
|
|
18
18
|
version: 2.0.0.snapshot
|
|
19
|
+
- - <
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 3.0.0
|
|
19
22
|
name: logstash-core
|
|
20
23
|
prerelease: false
|
|
21
24
|
type: :runtime
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- -
|
|
27
|
+
- - '>='
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
29
|
version: 2.0.0.snapshot
|
|
30
|
+
- - <
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 3.0.0
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
28
34
|
requirement: !ruby/object:Gem::Requirement
|
|
29
35
|
requirements:
|