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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65e9f7d306f6d8b262d7af0585fd52b898ed2c3b
4
- data.tar.gz: d9caea2616664dd9d2bbffc6abefba2855d9d5ea
3
+ metadata.gz: a49f24e3f8a74c0b5c310d238ed10710532c7317
4
+ data.tar.gz: 6dba30cb2b7d0e4adcb1c0b41692622bc94527c5
5
5
  SHA512:
6
- metadata.gz: 7f1e6c7d991049ad623219a997452a279aa0a105c9ea2353ea5d4549b3df0f92a2f74169e74e4619348cb74966a2c222ee1b692e290b5da501ca191313ef6832
7
- data.tar.gz: 8ec234f0bc39e5c4df6a8f5804ccb29759fd256e96966ad3733730f3c870c4063972df958d557fa626c537a9a6bb095616984f0bdb925ebe0bc36decd5282a51
6
+ metadata.gz: 207e2fc941c229683499d4734bf1672b71004396c157063e05e9c1142fa429cc10b5e6fa9f501241e60f55c55aab2c803610cc04a9da269ff0c47805901c7e42
7
+ data.tar.gz: 0c003a78f32b67258bfb68d43367cb297ba51a86964d44e407c3c76f26d81a26a9a9a355c1ede96cae43a0334292d4d5f20dd356ff25e567f3a981affb477b28
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.1.1 (2014/01/29)
2
+
3
+ Enhancement:
4
+
5
+ * Enrich log a bit
6
+
1
7
  ## 0.1.0 (2014/01/29)
2
8
 
3
9
  Changes:
@@ -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.0"
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 => 1 # growthforecast requires a realtime post, so retry only once (originally, 17)
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-yohoushi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo