fluent-plugin-yohoushi 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/fluent-plugin-yohoushi.gemspec +1 -1
- data/lib/fluent/plugin/out_yohoushi.rb +3 -2
- 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: a49f24e3f8a74c0b5c310d238ed10710532c7317
|
4
|
+
data.tar.gz: 6dba30cb2b7d0e4adcb1c0b41692622bc94527c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 207e2fc941c229683499d4734bf1672b71004396c157063e05e9c1142fa429cc10b5e6fa9f501241e60f55c55aab2c803610cc04a9da269ff0c47805901c7e42
|
7
|
+
data.tar.gz: 0c003a78f32b67258bfb68d43367cb297ba51a86964d44e407c3c76f26d81a26a9a9a355c1ede96cae43a0334292d4d5f20dd356ff25e567f3a981affb477b28
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "fluent-plugin-yohoushi"
|
6
|
-
s.version = "0.1.
|
6
|
+
s.version = "0.1.1"
|
7
7
|
s.authors = ["Naotoshi Seo"]
|
8
8
|
s.email = ["sonots@gmail.com"]
|
9
9
|
s.homepage = "https://github.com/sonots/fluent-plugin-yohoushi"
|
@@ -37,7 +37,7 @@ module Fluent
|
|
37
37
|
config_param :buffer_type, :string, :default => 'memory'
|
38
38
|
config_param :flush_interval, :time, :default => 0 # we can not wait 1 minute to create 1 minute graphs (originally, 60)
|
39
39
|
config_param :try_flush_interval, :float, :default => 1 # we would be able to shorten more
|
40
|
-
config_param :retry_limit, :integer, :default =>
|
40
|
+
config_param :retry_limit, :integer, :default => 0 # growthforecast requires a realtime post, so do not retry (originally, 17)
|
41
41
|
config_param :retry_wait, :time, :default => 1.0
|
42
42
|
config_param :max_retry_wait, :time, :default => nil
|
43
43
|
config_param :num_threads, :integer, :default => 1
|
@@ -113,7 +113,7 @@ module Fluent
|
|
113
113
|
@client.post_graph(path, { 'number' => number.to_i, 'mode' => @mode.to_s })
|
114
114
|
end
|
115
115
|
rescue => e
|
116
|
-
$log.warn "out_yohoushi: #{e.class} #{e.message} #{e.backtrace.first}"
|
116
|
+
$log.warn "out_yohoushi: #{e.class} #{e.message} #{path} #{e.backtrace.first}"
|
117
117
|
end
|
118
118
|
|
119
119
|
def format(tag, time, record)
|
@@ -151,6 +151,7 @@ module Fluent
|
|
151
151
|
end
|
152
152
|
rescue => e
|
153
153
|
$log.warn "out_yohoushi: #{e.class} #{e.message} #{e.backtrace.first}"
|
154
|
+
# Here, no raise of an error, so this BufferedOutput does not retry
|
154
155
|
end
|
155
156
|
|
156
157
|
def expand_placeholder(value, time, record, opts)
|