fluent-plugin-monitor-agent-modified 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: cf81903f50faa92661d7b83dca447b00a4ca2ad3
4
- data.tar.gz: 7e9ecec113fd61ce36168fe85cd344539a6eabdc
3
+ metadata.gz: 49779cc6aa8f9f7796432b792b2cd8f5ce0b6a30
4
+ data.tar.gz: 35bd5b7c422871fb1eee2b0c0f86ec5128fb6028
5
5
  SHA512:
6
- metadata.gz: 843a899a8b67bd33c905a61cc1230f80356e6e70a5c2b5284fdee4fdff8e47fa3857bf343e22ae92227720090a9b67179f8c266fb33678cfb1ff2f7a93b4c735
7
- data.tar.gz: f380da14f63def6b7a64299da49df058142480f78f58f60ae4a10e47f66c7b4b253cf1b28fd6211d71093f26a2ef10b9235e9461fe4e6fe8ee6b734072070ca0
6
+ metadata.gz: a1740fec3c73fceadee9fed2dc49523c7285a5a4b94491ad8eecde95a2ba1387425e75c27fdd94159a6da6a6552fbd4792495b75a7bec5198141e1a47752cbd9
7
+ data.tar.gz: 5085c054459c1877d9f59b6539be9472e24ba51d74d5dfac3c7485a7bfa26d36c56d0d2ce72e06936e4167ca692d4cd94b17613f282f8a1ae9912b25e8d5416f
data/.gitignore CHANGED
@@ -6,4 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
- .DS_STORE
9
+ */.DS_STORE
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # fluent-plugin-monitor-agent-modified
2
2
 
3
-
3
+ Modified version of the `in_monitor_agent` plugin in fluentd. It can monitor number of emitted records during `emit_interval` when `tag` is configured.
4
+ The filed is `records`.
4
5
 
5
6
  ## Installation
6
7
 
@@ -14,12 +15,11 @@ Or you can install this plugin for [td-agent][td-agent] as:
14
15
 
15
16
  ## Usage
16
17
 
17
- TODO: Write usage instructions here
18
-
19
- ## Development
20
-
21
-
18
+ Same as the `in_monitor_agent` plugin in Fluentd
22
19
 
23
20
  ## Contributing
24
21
 
25
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/fluent-plugin-monitor-agent-modified.
22
+ Bug reports and pull requests are welcome on [GitHub][github]
23
+
24
+ [github]: https://github.com/BlackNight95/fluent-plugin-monitor-agent-modified
25
+ [td-agent]: https://github.com/treasure-data/td-agent
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_runtime_dependency("windows-pr", ["~> 1.2.5"])
33
33
  end
34
34
 
35
- spec.add_dependency "fluentd", ">= 0.14.10", "< 2"
35
+ spec.add_dependency "fluentd", ">= 1.6.3", "< 2"
36
36
  spec.add_development_dependency("rake", ["~> 11.0"])
37
37
  spec.add_development_dependency("flexmock", ["~> 2.0"])
38
38
  spec.add_development_dependency("parallel_tests", ["~> 0.15.3"])
@@ -209,7 +209,7 @@ module Fluent::Plugin
209
209
 
210
210
  log.debug "listening monitoring http server on http://#{@bind}:#{@port}/api/plugins for worker#{fluentd_worker_id}"
211
211
  api_handler = APIHandler.new(self)
212
- create_http_server(addr: @bind, port: @port, logger: log, default_app: NotFoundJson) do |serv|
212
+ create_http_server(:in_monitor_http_server_helper, addr: @bind, port: @port, logger: log, default_app: NotFoundJson) do |serv|
213
213
  serv.get('/api/plugins') { |req| api_handler.plugins_ltsv(req) }
214
214
  serv.get('/api/plugins.json') { |req| api_handler.plugins_json(req) }
215
215
  serv.get('/api/config') { |req| api_handler.config_ltsv(req) }
@@ -1,3 +1,3 @@
1
1
  module Fluent
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-monitor-agent-modified
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
  - wanfeng.hu
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.10
19
+ version: 1.6.3
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '2'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.10
29
+ version: 1.6.3
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '2'
@@ -170,16 +170,12 @@ executables: []
170
170
  extensions: []
171
171
  extra_rdoc_files: []
172
172
  files:
173
- - ".DS_Store"
174
173
  - ".gitignore"
175
174
  - Gemfile
176
175
  - LISENCE
177
176
  - README.md
178
177
  - Rakefile
179
178
  - fluent-plugin-monitor-agent-modified.gemspec
180
- - lib/.DS_Store
181
- - lib/fluent/.DS_Store
182
- - lib/fluent/plugin/.DS_Store
183
179
  - lib/fluent/plugin/in_monitor_agent_modified.rb
184
180
  - lib/fluent/version.rb
185
181
  homepage: https://github.com/BlackNight95/fluent-plugin-monitor-agent-modified
data/.DS_Store DELETED
Binary file
Binary file
Binary file
Binary file