fluent-plugin-numeric-monitor 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9831a3f87af2ed7d4b78f5cf93bfd429f3866c3
|
4
|
+
data.tar.gz: 5c637ba413c9fb8264eac755962f0cc6761c0b2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24735621dfc86fe3a6a4beeef498f65718e24b970bad4e2f0f37f25e8ba8163de1f5398b57c66861c61f5686c0c0eea881c00865b78a2590809b63bfdf346eb2
|
7
|
+
data.tar.gz: 8e9ed9e70c95ed96db6623ad564b997c713cb6e9603f433084bc51866cda4924aec7275869fd62b110d36caf246b1d85d834b6cba0e7a78bef1d9da0969567fc
|
@@ -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.3"
|
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}
|
@@ -173,7 +173,11 @@ class Fluent::Plugin::NumericMonitorOutput < Fluent::Plugin::Output
|
|
173
173
|
if @output_per_tag
|
174
174
|
time = Fluent::Engine.now
|
175
175
|
flush.each do |tag, message|
|
176
|
-
|
176
|
+
if @tag_prefix_string
|
177
|
+
router.emit(@tag_prefix_string + tag, time, message)
|
178
|
+
else
|
179
|
+
router.emit(tag, time, message)
|
180
|
+
end
|
177
181
|
end
|
178
182
|
else
|
179
183
|
router.emit(@tag, Fluent::Engine.now, flush)
|