fluent-plugin-numeric-monitor 1.0.1 → 1.0.2

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: 3887ed9e336c2a47f3e1dc980e19b0f352b3c7f7
4
- data.tar.gz: 913fd63fa2021d39e4c342a09f700f3abf0dac31
3
+ metadata.gz: f8b75d80e18aca7eaaaf96466c1f65fe6d60b93d
4
+ data.tar.gz: 1b9dc3737f3fa6365ed0a6c2186038150b16853e
5
5
  SHA512:
6
- metadata.gz: afe400e780ec54837e85e2819a4ddda5e09f40ea3b7a0f35dc136bc13b318c6b11967bfda12e3216699c8fd480eb85190ee248135b556eabfe6e642d0317accb
7
- data.tar.gz: 3808a8830ef3501d83345310244680dc0a74745b50e34e899c51cbfcbefaf112ed7f86d4dcc590c42c42072d4067640283c92ea8a74bbd2fd9a0198bb774e7c4
6
+ metadata.gz: 0a3b2989ebe9b4acd26ad62c0471dccc010670e866c8f219c90d3c0749c100291fab73eeb9e0f291386ac79e12c41ee7e2f315ee04f52c7fa3f4f7b524eb7826
7
+ data.tar.gz: 00c6f3a1bd38e5320373ab5d282402e1d95c748f9244d402f7589c2a4735bf149ed13ddb03d6b8870ad4c76ea6b716c2ac6514ce16ffc9b8c4dd7745ce9f20c2
data/.travis.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.1.8
5
- - 2.2.4
6
- - 2.3.0
4
+ - 2.1.10
5
+ - 2.2.6
6
+ - 2.3.3
7
+ - 2.4.0
@@ -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 = "1.0.1"
4
+ gem.version = "1.0.2"
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}
@@ -67,10 +67,18 @@ class Fluent::Plugin::NumericMonitorOutput < Fluent::Plugin::Output
67
67
  @tag_prefix_string = nil
68
68
  end
69
69
 
70
+ if system_config.workers > 1
71
+ log.warn "Fluentd is now working with multi process workers, and numeric_monitor plugin will produce monitor results in each separated processes."
72
+ end
73
+
70
74
  @count = count_initialized
71
75
  @mutex = Mutex.new
72
76
  end
73
77
 
78
+ def multi_workers_ready?
79
+ true
80
+ end
81
+
74
82
  def start
75
83
  super
76
84
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-numeric-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi