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 +4 -4
- data/.gitignore +1 -1
- data/README.md +7 -7
- data/fluent-plugin-monitor-agent-modified.gemspec +1 -1
- data/lib/fluent/plugin/in_monitor_agent_modified.rb +1 -1
- data/lib/fluent/version.rb +1 -1
- metadata +3 -7
- data/.DS_Store +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/fluent/.DS_Store +0 -0
- data/lib/fluent/plugin/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49779cc6aa8f9f7796432b792b2cd8f5ce0b6a30
|
4
|
+
data.tar.gz: 35bd5b7c422871fb1eee2b0c0f86ec5128fb6028
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1740fec3c73fceadee9fed2dc49523c7285a5a4b94491ad8eecde95a2ba1387425e75c27fdd94159a6da6a6552fbd4792495b75a7bec5198141e1a47752cbd9
|
7
|
+
data.tar.gz: 5085c054459c1877d9f59b6539be9472e24ba51d74d5dfac3c7485a7bfa26d36c56d0d2ce72e06936e4167ca692d4cd94b17613f282f8a1ae9912b25e8d5416f
|
data/.gitignore
CHANGED
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
|
-
|
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
|
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", ">=
|
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) }
|
data/lib/fluent/version.rb
CHANGED
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.
|
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:
|
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:
|
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
|
data/lib/.DS_Store
DELETED
Binary file
|
data/lib/fluent/.DS_Store
DELETED
Binary file
|
data/lib/fluent/plugin/.DS_Store
DELETED
Binary file
|