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 +4 -4
- data/ChangeLog +4 -0
- data/README.md +2 -2
- data/VERSION +1 -1
- data/lib/fluent/plugin/in_td_monitor_agent.rb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c018ea028fd2a797f3c59ec732ca45a08cf6deb7
|
4
|
+
data.tar.gz: 005b1da480a5e1637e5c8c0a09ef21708b064fbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c434357004f37cd6dd29453d5982fccd3a74cf47c9671c98e641421d38cfc81fa5f5e58190130d968dc77b0b7063fe2822ad74782f7bb4faa39aa7be3072e80b
|
7
|
+
data.tar.gz: 5b3e9688a1f4c64802c194c15826e62f81e27500a718249847fc79ca3b504c9ff9e455cf16889966e9b5bd437bca9451b4f677f4bb7e6640f080a86097919851
|
data/ChangeLog
CHANGED
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
|
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
|
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.
|
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.
|
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.
|
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-
|
11
|
+
date: 2014-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|