fluent-plugin-amplifier-filter 0.2.1 → 0.3.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: 038f7fb30d8258639e3211bf0e94f8c082e5379d
4
- data.tar.gz: 94d92704fcc066b1b0f2392817c65e379f2cd6f9
3
+ metadata.gz: 8a96b9a77928a922347d8f8397c8894f3c59a527
4
+ data.tar.gz: da7c1ba756b5b8508edcce1ffbefe7bd1085b1e0
5
5
  SHA512:
6
- metadata.gz: 206e897a45215fb4b93d15241555a42e3cd517c5503f189da3d1c93f0c0eabf010d1a9b536cdf79a81f46b386750c7d982c27770687b7c1df01b570841582189
7
- data.tar.gz: 8fd0b1bc87b08d45d159b307657d7720583afe30bf255e5412de09868070be2ad985e137e12fcc85cf4aaa67bc70365bf2664a759433f63e7b6eb04050bf4017
6
+ metadata.gz: c759709df880360790144d80f7b33445c30dee5801fa32557b0f7b8bf22acaf049379f7b0d3dd83b19658c1ffebe624480dbbfb05b7ddf11e4e6d169b6049fea
7
+ data.tar.gz: 78dadfd3bc126cdd6c45fb22f60f290720f5c17f14ae7d0cc55d78412b0a3680bfc4c1d4c4552926e63bcf6565493fb7501b8c639757dc3746fa508c6e3056ae
@@ -1,4 +1,7 @@
1
1
  language: ruby
2
+ sudo: false
2
3
  rvm:
3
- - 1.9.3
4
- - 2.0.0
4
+ - 2.0
5
+ - 2.1
6
+ - 2.2
7
+ - 2.3.0
data/README.md CHANGED
@@ -13,14 +13,14 @@
13
13
  To do x10 for messages 1/10 sampled, and to do x100 for messages 1/100 sampled:
14
14
 
15
15
  <match sampled_10.**>
16
- type amplifier_filter
16
+ @type amplifier_filter
17
17
  ratio 10
18
18
  remove_prefix sampled_10
19
19
  key_names counts,rates
20
20
  </match>
21
21
 
22
22
  <match sampled_100.**>
23
- type amplifier_filter
23
+ @type amplifier_filter
24
24
  ratio 100
25
25
  remove_prefix sampled_100
26
26
  key_names counts,rates
@@ -33,7 +33,7 @@ To do x10 for messages 1/10 sampled, and to do x100 for messages 1/100 sampled:
33
33
  `key_pattern`(regexp) useful insted of `key_names`, and `add_prefix` is also useful:
34
34
 
35
35
  <match sampled_10.**>
36
- type amplifier_filter
36
+ @type amplifier_filter
37
37
  ratio 10
38
38
  remove_prefix sampled_10
39
39
  add_prefix summary
@@ -50,13 +50,13 @@ Filter version of AmplifierFilterOutput plugin.
50
50
  It depends on Fluentd 0.12 or later.
51
51
 
52
52
  <filter sampled_10.**>
53
- type amplifier_filter
53
+ @type amplifier_filter
54
54
  ratio 10
55
55
  key_names counts,rates
56
56
  </filter>
57
57
 
58
58
  <filter sampled_100.**>
59
- type amplifier_filter
59
+ @type amplifier_filter
60
60
  ratio 100
61
61
  key_names counts,rates
62
62
  </filter>
@@ -72,7 +72,7 @@ It depends on Fluentd 0.12 or later.
72
72
  `key_pattern`(regexp) useful insted of `key_names`, and `add_prefix` is also useful:
73
73
 
74
74
  <filter sampled_10.**>
75
- type amplifier_filter
75
+ @type amplifier_filter
76
76
  ratio 10
77
77
  key_pattern .*_(count|rate)$
78
78
  </filter>
@@ -1,20 +1,20 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-amplifier-filter"
4
- gem.version = "0.2.1"
4
+ gem.version = "0.3.0"
5
5
  gem.authors = ["TAGOMORI Satoshi"]
6
6
  gem.email = ["tagomoris@gmail.com"]
7
7
  gem.summary = %q{plugin to re-emit messages with amplified values}
8
8
  gem.description = %q{plugin to increase/decrease values by specified ratio (0-1 or 1-)}
9
9
  gem.homepage = "http://github.com/tagomoris/fluent-plugin-amplifier-filter"
10
- gem.license = "APLv2"
10
+ gem.license = "Apache-2.0"
11
11
 
12
12
  gem.files = `git ls-files`.split($\)
13
13
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
14
14
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
15
15
  gem.require_paths = ["lib"]
16
16
 
17
- gem.add_runtime_dependency "fluentd"
17
+ gem.add_runtime_dependency "fluentd", "< 0.14.0"
18
18
  gem.add_development_dependency "bundler"
19
19
  gem.add_development_dependency "rake"
20
20
  gem.add_development_dependency "test-unit", "~> 3.1.0"
@@ -25,7 +25,7 @@ else
25
25
  end
26
26
 
27
27
  require 'fluent/plugin/out_amplifier_filter'
28
- require 'fluent/plugin/filter_amplifier'
28
+ require 'fluent/plugin/filter_amplifier_filter'
29
29
 
30
30
  class Test::Unit::TestCase
31
31
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-amplifier-filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-20 00:00:00.000000000 Z
11
+ date: 2017-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "<"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.14.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "<"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 0.14.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -83,11 +83,11 @@ files:
83
83
  - lib/fluent/plugin/filter_amplifier_filter.rb
84
84
  - lib/fluent/plugin/out_amplifier_filter.rb
85
85
  - test/helper.rb
86
- - test/plugin/test_filter_amplifier.rb
86
+ - test/plugin/test_filter_amplifier_filter.rb
87
87
  - test/plugin/test_out_amplifier_filter.rb
88
88
  homepage: http://github.com/tagomoris/fluent-plugin-amplifier-filter
89
89
  licenses:
90
- - APLv2
90
+ - Apache-2.0
91
91
  metadata: {}
92
92
  post_install_message:
93
93
  rdoc_options: []
@@ -105,12 +105,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  requirements: []
107
107
  rubyforge_project:
108
- rubygems_version: 2.5.1
108
+ rubygems_version: 2.6.8
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: plugin to re-emit messages with amplified values
112
112
  test_files:
113
113
  - test/helper.rb
114
- - test/plugin/test_filter_amplifier.rb
114
+ - test/plugin/test_filter_amplifier_filter.rb
115
115
  - test/plugin/test_out_amplifier_filter.rb
116
- has_rdoc: