fluent-plugin-cloudwatch 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -0
- data/fluent-plugin-cloudwatch.gemspec +1 -1
- data/lib/fluent/plugin/in_cloudwatch.rb +2 -1
- metadata +62 -44
data/README.md
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "fluent-plugin-cloudwatch"
|
7
|
-
gem.version = "1.
|
7
|
+
gem.version = "1.2.0"
|
8
8
|
gem.authors = ["Yusuke Nomura", "kenjiskywalker"]
|
9
9
|
gem.email = ["yunomu@gmail.com", "git@kenjiskywalker.org"]
|
10
10
|
gem.description = %q{Input plugin for AWS CloudWatch.}
|
@@ -12,6 +12,7 @@ class Fluent::CloudwatchInput < Fluent::Input
|
|
12
12
|
config_param :dimensions_name, :string, :default => nil
|
13
13
|
config_param :dimensions_value, :string, :default => nil
|
14
14
|
config_param :period, :integer, :default => 60
|
15
|
+
config_param :interval, :integer, :default => 60
|
15
16
|
|
16
17
|
|
17
18
|
def initialize
|
@@ -42,7 +43,7 @@ class Fluent::CloudwatchInput < Fluent::Input
|
|
42
43
|
private
|
43
44
|
def watch
|
44
45
|
while true
|
45
|
-
sleep
|
46
|
+
sleep @interval
|
46
47
|
output
|
47
48
|
end
|
48
49
|
end
|
metadata
CHANGED
@@ -1,57 +1,66 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-cloudwatch
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 1.2.0
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Yusuke Nomura
|
9
14
|
- kenjiskywalker
|
10
15
|
autorequire:
|
11
16
|
bindir: bin
|
12
17
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
18
|
+
|
19
|
+
date: 2013-04-09 00:00:00 Z
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
16
22
|
name: fluentd
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
|
-
requirements:
|
20
|
-
- - ~>
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.10.30
|
23
|
-
type: :runtime
|
24
23
|
prerelease: false
|
25
|
-
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
25
|
none: false
|
27
|
-
requirements:
|
26
|
+
requirements:
|
28
27
|
- - ~>
|
29
|
-
- !ruby/object:Gem::Version
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 11
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 10
|
33
|
+
- 30
|
30
34
|
version: 0.10.30
|
31
|
-
- !ruby/object:Gem::Dependency
|
32
|
-
name: aws-sdk
|
33
|
-
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
|
-
requirements:
|
36
|
-
- - '='
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: 1.8.3
|
39
35
|
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: aws-sdk
|
40
39
|
prerelease: false
|
41
|
-
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
41
|
none: false
|
43
|
-
requirements:
|
44
|
-
- -
|
45
|
-
- !ruby/object:Gem::Version
|
42
|
+
requirements:
|
43
|
+
- - "="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 49
|
46
|
+
segments:
|
47
|
+
- 1
|
48
|
+
- 8
|
49
|
+
- 3
|
46
50
|
version: 1.8.3
|
51
|
+
type: :runtime
|
52
|
+
version_requirements: *id002
|
47
53
|
description: Input plugin for AWS CloudWatch.
|
48
|
-
email:
|
54
|
+
email:
|
49
55
|
- yunomu@gmail.com
|
50
56
|
- git@kenjiskywalker.org
|
51
57
|
executables: []
|
58
|
+
|
52
59
|
extensions: []
|
60
|
+
|
53
61
|
extra_rdoc_files: []
|
54
|
-
|
62
|
+
|
63
|
+
files:
|
55
64
|
- .gitignore
|
56
65
|
- Gemfile
|
57
66
|
- LICENSE
|
@@ -63,28 +72,37 @@ files:
|
|
63
72
|
- test/plugin/test_in_cloudwatch.rb
|
64
73
|
homepage: https://github.com/yunomu/fluent-plugin-cloudwatch
|
65
74
|
licenses: []
|
75
|
+
|
66
76
|
post_install_message:
|
67
77
|
rdoc_options: []
|
68
|
-
|
78
|
+
|
79
|
+
require_paths:
|
69
80
|
- lib
|
70
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
71
82
|
none: false
|
72
|
-
requirements:
|
73
|
-
- -
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
87
|
+
segments:
|
88
|
+
- 0
|
89
|
+
version: "0"
|
90
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
91
|
none: false
|
78
|
-
requirements:
|
79
|
-
- -
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
hash: 3
|
96
|
+
segments:
|
97
|
+
- 0
|
98
|
+
version: "0"
|
82
99
|
requirements: []
|
100
|
+
|
83
101
|
rubyforge_project:
|
84
|
-
rubygems_version: 1.8.
|
102
|
+
rubygems_version: 1.8.15
|
85
103
|
signing_key:
|
86
104
|
specification_version: 3
|
87
105
|
summary: Input plugin for AWS CloudWatch.
|
88
|
-
test_files:
|
106
|
+
test_files:
|
89
107
|
- test/helper.rb
|
90
108
|
- test/plugin/test_in_cloudwatch.rb
|