fluent-plugin-numeric-monitor 0.1.6 → 0.1.7

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: 068c4d7a79fb6422b2d5cbfdf85f4db7e9af771c
4
- data.tar.gz: cbae106a78018a6b21a84c180a71787ac5a594a2
3
+ metadata.gz: ed7ae5ea19e39d2c8681925b418fb903f2c04edc
4
+ data.tar.gz: b8ac80695a505db3f0de381bdfd1ff3f78f10232
5
5
  SHA512:
6
- metadata.gz: ebc298cc98e95db9158300babf4b019eaadf4fc0e5d4ed49156136e4b6b4d5be98c24d37001e01b433d55b8cb79b0bd7172f0eaa2457a4b936590082920bd944
7
- data.tar.gz: a570668005cde7155c1dde3d6eac554546afec5ca019c8f36c0e978018cb7a70efe3bf6fe5e60b55c2092140c4f093941677260823fede22f1911455349e1e61
6
+ metadata.gz: 048e8fc9090e7a8cac43820b9892878c180acad53d40f890c16d9928f6685e907259bc9a75ed81888cb60a8f230df1c6cc2f0021393cb8c3db07fd6c5a3e52d9
7
+ data.tar.gz: 05958871c3bb114ca921ced7af82676d03ce7741beea5c17d6c518c50813b40afe4cc6a3a7b476e5a2a1b5df1353521b3ac854167d4b1f4bb8fd5ab2383ef112
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ### NumericMonitorOutput
6
6
 
7
- Plugin to calculate min/max/avg/sum and specified percentile values (and 'num' of matched messages), which used in notifications (such as fluent-plugin-notifier)
7
+ [Fluentd](http://fluentd.org) plugin to calculate min/max/avg/sum and specified percentile values (and 'num' of matched messages), which used in notifications (such as fluent-plugin-notifier)
8
8
 
9
9
  ## Configuration
10
10
 
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-numeric-monitor"
4
- gem.version = "0.1.6"
4
+ gem.version = "0.1.7"
5
5
  gem.authors = ["TAGOMORI Satoshi"]
6
6
  gem.email = ["tagomoris@gmail.com"]
7
7
  gem.description = %q{Fluentd plugin to calculate min/max/avg/Xpercentile values, and emit these data as message}
@@ -1,6 +1,11 @@
1
1
  class Fluent::NumericMonitorOutput < Fluent::Output
2
2
  Fluent::Plugin.register_output('numeric_monitor', self)
3
3
 
4
+ # Define `log` method for v0.10.42 or earlier
5
+ unless method_defined?(:log)
6
+ define_method("log") { $log }
7
+ end
8
+
4
9
  EMIT_STREAM_RECORDS = 100
5
10
 
6
11
  config_param :count_interval, :time, :default => 60
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-numeric-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-05 00:00:00.000000000 Z
11
+ date: 2014-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: fluentd
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Fluentd plugin to calculate min/max/avg/Xpercentile values, and emit
@@ -46,8 +46,8 @@ executables: []
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
- - .gitignore
50
- - .travis.yml
49
+ - ".gitignore"
50
+ - ".travis.yml"
51
51
  - Gemfile
52
52
  - LICENSE.txt
53
53
  - README.md
@@ -66,21 +66,20 @@ require_paths:
66
66
  - lib
67
67
  required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - '>='
69
+ - - ">="
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
78
  rubyforge_project:
79
- rubygems_version: 2.0.3
79
+ rubygems_version: 2.2.2
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Fluentd plugin to calculate min/max/avg/Xpercentile values
83
83
  test_files:
84
84
  - test/helper.rb
85
85
  - test/plugin/test_out_numeric_monitor.rb
86
- has_rdoc: