fluent-plugin-mysqlslowquery 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/fluent-plugin-mysqlslowquery.gemspec +2 -2
- data/lib/fluent/plugin/in_mysql_slow_query.rb +4 -3
- metadata +4 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5f63cdb469127381793272a20af2bea866987e2
|
|
4
|
+
data.tar.gz: 65027bf8b922438b0a727c741730dd3a0c31300b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b370a6bfb44467d0c4f430779ec626016fcb94ea4e688b61fc6020fa483079d4bab05bd9f225432e646e4dc6859797e917ebb8c4d8fd2af1b613a1a7d93382a1
|
|
7
|
+
data.tar.gz: a056c8f7acdc2636a586e70fc8512d465a262752f3c2452e02117c2bfbf1a96db1d9f4f17d3351e17ea8e3d5f64fea57a525c53262ce2387ccc5e72796a8fd57
|
|
@@ -3,7 +3,7 @@ Gem::Specification.new do |gem|
|
|
|
3
3
|
gem.email = ["taka84u9@gmail.com"]
|
|
4
4
|
gem.description = "Fluent input plugin for MySQL slow query log file."
|
|
5
5
|
gem.summary = "Fluent input plugin for MySQL slow query log file."
|
|
6
|
-
gem.homepage = "https://github.com/
|
|
6
|
+
gem.homepage = "https://github.com/yuku-t/fluent-plugin-mysqlslowquery"
|
|
7
7
|
gem.license = "MIT"
|
|
8
8
|
|
|
9
9
|
gem.files = `git ls-files`.split($\)
|
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
|
|
|
11
11
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
12
12
|
gem.name = "fluent-plugin-mysqlslowquery"
|
|
13
13
|
gem.require_paths = ["lib"]
|
|
14
|
-
gem.version = "0.0.
|
|
14
|
+
gem.version = "0.0.8"
|
|
15
15
|
gem.add_dependency "fluentd", [">= 0.12.0", "< 2"]
|
|
16
16
|
gem.add_dependency "myslog", "~> 0.0"
|
|
17
17
|
end
|
|
@@ -14,11 +14,12 @@
|
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
#
|
|
16
16
|
require "myslog"
|
|
17
|
+
require "fluent/plugin/in_tail"
|
|
17
18
|
|
|
18
|
-
module Fluent
|
|
19
|
+
module Fluent::Plugin
|
|
19
20
|
|
|
20
|
-
class MySQLSlowQueryInput < TailInput
|
|
21
|
-
Plugin.register_input('mysql_slow_query', self)
|
|
21
|
+
class MySQLSlowQueryInput < Fluent::Plugin::TailInput
|
|
22
|
+
Fluent::Plugin.register_input('mysql_slow_query', self)
|
|
22
23
|
|
|
23
24
|
def configure_parser(conf)
|
|
24
25
|
@parser = MySlog.new
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-mysqlslowquery
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yuku Takahashi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-01-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|
|
@@ -57,7 +57,7 @@ files:
|
|
|
57
57
|
- Rakefile
|
|
58
58
|
- fluent-plugin-mysqlslowquery.gemspec
|
|
59
59
|
- lib/fluent/plugin/in_mysql_slow_query.rb
|
|
60
|
-
homepage: https://github.com/
|
|
60
|
+
homepage: https://github.com/yuku-t/fluent-plugin-mysqlslowquery
|
|
61
61
|
licenses:
|
|
62
62
|
- MIT
|
|
63
63
|
metadata: {}
|
|
@@ -77,9 +77,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
77
77
|
version: '0'
|
|
78
78
|
requirements: []
|
|
79
79
|
rubyforge_project:
|
|
80
|
-
rubygems_version: 2.
|
|
80
|
+
rubygems_version: 2.6.11
|
|
81
81
|
signing_key:
|
|
82
82
|
specification_version: 4
|
|
83
83
|
summary: Fluent input plugin for MySQL slow query log file.
|
|
84
84
|
test_files: []
|
|
85
|
-
has_rdoc:
|