fluent-plugin-td-monitoring 0.1.2 → 0.1.3

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: 5ed61bb451c1d0809858044aaa984161f11f63d5
4
- data.tar.gz: 844db9811febcad867500a8db5bd95659426dc74
3
+ metadata.gz: c018ea028fd2a797f3c59ec732ca45a08cf6deb7
4
+ data.tar.gz: 005b1da480a5e1637e5c8c0a09ef21708b064fbb
5
5
  SHA512:
6
- metadata.gz: 15eb5bab5dcd9dde7d8dfd9983b8e23ca18cf58eca5f6a75e3a5d74e9d15b0651392b5454e3d139cd9ba407ab4693b66050130dd89ce6b6400ee60174fa6f110
7
- data.tar.gz: 4e20e2acca0e8c3435b5072e8b056f5e73b1ddab37f43ca630037b025b7023d796d3f29bcf85fb56cd2074f8a82cd4094e0b14a1fcfb44762c58740935bacab5
6
+ metadata.gz: c434357004f37cd6dd29453d5982fccd3a74cf47c9671c98e641421d38cfc81fa5f5e58190130d968dc77b0b7063fe2822ad74782f7bb4faa39aa7be3072e80b
7
+ data.tar.gz: 5b3e9688a1f4c64802c194c15826e62f81e27500a718249847fc79ca3b504c9ff9e455cf16889966e9b5bd437bca9451b4f677f4bb7e6640f080a86097919851
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ == 2014-07-04 version 0.1.3
2
+
3
+ - Show `retry succeeded` message
4
+
1
5
  == 2014-06-06 version 0.1.2
2
6
 
3
7
  - support log_level option
data/README.md CHANGED
@@ -56,7 +56,7 @@ Your Treasure Data API key.
56
56
 
57
57
  Specify unique instance id across nodes. If not specified, use configuration file path instead.
58
58
 
59
- * disable_node_info (default false)
59
+ * disable_node_info (default true)
60
60
 
61
61
  Send system metrics, CPU / Memory / Disk, or not.
62
62
 
@@ -99,7 +99,7 @@ $ git clone git@github.com:treasure-data/fluent-plugin-td-monitoring.git
99
99
  $ cd fluent-plugin-td-monitoring
100
100
  $ bundle install
101
101
  $ bundle exec rake build
102
- $ gem install pkg/fluent-plugin-td-monitoring-0.1.2.gem
102
+ $ gem install pkg/fluent-plugin-td-monitoring-*.gem
103
103
  $ fluentd -c fluentd.conf
104
104
  ```
105
105
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -3,7 +3,7 @@ module Fluent
3
3
  require_relative 'out_td_counter'
4
4
 
5
5
  class TDMonitorAgentInput < Input
6
- VERSION = "0.1.2"
6
+ VERSION = "0.1.3"
7
7
 
8
8
  Plugin.register_input('td_monitor_agent', self)
9
9
 
@@ -107,9 +107,15 @@ module Fluent
107
107
  EVENT_ENDPOINT_PATH = '/v1/monitoring/start'
108
108
 
109
109
  def on_timer
110
+ retrying = false
110
111
  @retry_limit.times { |i|
111
112
  if send_to_tdms(EVENT_ENDPOINT_PATH, collect_info)
113
+ if retrying
114
+ log.warn "retry succeeded after #{i} retry"
115
+ end
112
116
  return
117
+ else
118
+ retrying = true
113
119
  end
114
120
  sleep 2
115
121
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-td-monitoring
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro Nakagawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-05 00:00:00.000000000 Z
11
+ date: 2014-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd