fluent-plugin-numeric-counter 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -3
- data/README.md +5 -5
- data/fluent-plugin-numeric-counter.gemspec +3 -3
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf6633c31e441b5d191a04289f68514a451cce3e
|
4
|
+
data.tar.gz: 44937da1b98030c2e20e66694d6b47310a3f4b2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd6abbbf507db891618579ea508736e59b489839420a3f04458843f3ccbb40bf420a86204c51b572e07fc8e837e4002a9b74d8aa58e9461854c48a64eb93091b
|
7
|
+
data.tar.gz: e9778122e8cb4caad8c24c4e5f513844dca18006c9b84c81d4f7e9c8383e1595c3f0f9c49c5f09846b1f5652f7ff37b3d3ee7cd5b6bf91001a37b06f3c86c59d
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -26,7 +26,7 @@ If you want to omit 'unmatched' messages from percentage counting, specify 'outc
|
|
26
26
|
Count messages that have attribute 'duration'(response time by microseconds), by several numeric ranges, per minutes.
|
27
27
|
|
28
28
|
<match accesslog.**>
|
29
|
-
type numeric_counter
|
29
|
+
@type numeric_counter
|
30
30
|
unit minute # or 'count_interval 60s' or '45s', '3m' ... as you want
|
31
31
|
aggregate all # or 'tag'
|
32
32
|
count_key duration
|
@@ -47,7 +47,7 @@ Count messages that have attribute 'duration'(response time by microseconds), by
|
|
47
47
|
Size specifier (like 10k, 5M, 103g) available as 1024\*\*1, 1024\*\*2, 1024\*\*3 ...., for example, for bytes of access log.
|
48
48
|
|
49
49
|
<match accesslog.**>
|
50
|
-
type numeric_counter
|
50
|
+
@type numeric_counter
|
51
51
|
unit hour
|
52
52
|
aggregate tag
|
53
53
|
count_key bytes
|
@@ -64,7 +64,7 @@ You can try to use negative numbers, and floating point numbers.... (not tested
|
|
64
64
|
With 'output\_per\_tag' option and 'tag\_prefix', we get one result message for one tag:
|
65
65
|
|
66
66
|
<match accesslog.{foo,bar}>
|
67
|
-
type numeric_counter
|
67
|
+
@type numeric_counter
|
68
68
|
unit hour
|
69
69
|
aggregate tag
|
70
70
|
count_key bytes
|
@@ -84,7 +84,7 @@ With 'output\_per\_tag' option and 'tag\_prefix', we get one result message for
|
|
84
84
|
And you can get tested messages count with 'output\_messages' option:
|
85
85
|
|
86
86
|
<match accesslog.{foo,bar}>
|
87
|
-
type numeric_counter
|
87
|
+
@type numeric_counter
|
88
88
|
unit hour
|
89
89
|
aggregate tag
|
90
90
|
count_key bytes
|
@@ -98,7 +98,7 @@ And you can get tested messages count with 'output\_messages' option:
|
|
98
98
|
# message: {'foo_messages' => xxx, 'bar_messages' => yyy, 'foo_SMALL_count' => 100, ... }
|
99
99
|
|
100
100
|
<match accesslog.{foo,bar}>
|
101
|
-
type numeric_counter
|
101
|
+
@type numeric_counter
|
102
102
|
unit hour
|
103
103
|
aggregate tag
|
104
104
|
count_key bytes
|
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = "fluent-plugin-numeric-counter"
|
5
|
-
gem.version = "0.
|
5
|
+
gem.version = "0.3.0"
|
6
6
|
gem.authors = ["TAGOMORI Satoshi"]
|
7
7
|
gem.email = ["tagomoris@gmail.com"]
|
8
8
|
gem.description = %q{Counts messages, with specified key and numeric value in specified range}
|
9
9
|
gem.summary = %q{Fluentd plugin to count messages with specified numeric values}
|
10
10
|
gem.homepage = "https://github.com/tagomoris/fluent-plugin-numeric-counter"
|
11
|
-
gem.license = "
|
11
|
+
gem.license = "Apache-2.0"
|
12
12
|
|
13
13
|
gem.files = `git ls-files`.split($\)
|
14
14
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
@@ -18,5 +18,5 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.add_development_dependency "rake"
|
19
19
|
gem.add_development_dependency "delorean"
|
20
20
|
gem.add_development_dependency "test-unit", ">= 3.1.0"
|
21
|
-
gem.add_runtime_dependency "fluentd"
|
21
|
+
gem.add_runtime_dependency "fluentd", "< 0.14.0"
|
22
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-numeric-counter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
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:
|
11
|
+
date: 2017-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: fluentd
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "<"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.14.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "<"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.14.0
|
69
69
|
description: Counts messages, with specified key and numeric value in specified range
|
70
70
|
email:
|
71
71
|
- tagomoris@gmail.com
|
@@ -85,7 +85,7 @@ files:
|
|
85
85
|
- test/plugin/test_out_numeric_counter.rb
|
86
86
|
homepage: https://github.com/tagomoris/fluent-plugin-numeric-counter
|
87
87
|
licenses:
|
88
|
-
-
|
88
|
+
- Apache-2.0
|
89
89
|
metadata: {}
|
90
90
|
post_install_message:
|
91
91
|
rdoc_options: []
|
@@ -103,11 +103,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
105
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.
|
106
|
+
rubygems_version: 2.6.8
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: Fluentd plugin to count messages with specified numeric values
|
110
110
|
test_files:
|
111
111
|
- test/helper.rb
|
112
112
|
- test/plugin/test_out_numeric_counter.rb
|
113
|
-
has_rdoc:
|