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 +4 -4
- data/.travis.yml +4 -3
- data/fluent-plugin-numeric-monitor.gemspec +1 -1
- data/lib/fluent/plugin/out_numeric_monitor.rb +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8b75d80e18aca7eaaaf96466c1f65fe6d60b93d
|
4
|
+
data.tar.gz: 1b9dc3737f3fa6365ed0a6c2186038150b16853e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a3b2989ebe9b4acd26ad62c0471dccc010670e866c8f219c90d3c0749c100291fab73eeb9e0f291386ac79e12c41ee7e2f315ee04f52c7fa3f4f7b524eb7826
|
7
|
+
data.tar.gz: 00c6f3a1bd38e5320373ab5d282402e1d95c748f9244d402f7589c2a4735bf149ed13ddb03d6b8870ad4c76ea6b716c2ac6514ce16ffc9b8c4dd7745ce9f20c2
|
data/.travis.yml
CHANGED
@@ -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.
|
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
|
|