fluent-plugin-elapsed-time 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/fluent-plugin-elapsed-time.gemspec +1 -1
- data/lib/fluent/plugin/out_elapsed_time.rb +6 -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: b6b4411b3f7e6a8ed0dea0d37972d8df8cb2a295
|
4
|
+
data.tar.gz: 7f5453e0b6170779a246def7c9dec3f62c124eae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e966c603341c1737cc66c20aebea264d2d70d3695e7c92ff3d246b9f3538ff7cfb8101eface9eb8dd2adbdb92446db052150ad80601239050bd4963883343b7a
|
7
|
+
data.tar.gz: c4b491e6f0c50878618074be99b4c187cc79608766a9f23857f4e3194cf9f5a22897b14198a7994ac65ff1a6e9de86933a9ba421609c230a1f692a078eda4d19
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.name = "fluent-plugin-elapsed-time"
|
6
|
-
gem.version = "0.0.
|
6
|
+
gem.version = "0.0.5"
|
7
7
|
gem.authors = ["Naotoshi Seo"]
|
8
8
|
gem.email = "sonots@gmail.com"
|
9
9
|
gem.homepage = "https://github.com/sonots/fluent-plugin-elapsed-time"
|
@@ -2,6 +2,11 @@ module Fluent
|
|
2
2
|
class ElapsedTimeOutput < MultiOutput
|
3
3
|
Plugin.register_output('elapsed_time', self)
|
4
4
|
|
5
|
+
# To support log_level option implemented by Fluentd v0.10.43
|
6
|
+
unless method_defined?(:log)
|
7
|
+
define_method("log") { $log }
|
8
|
+
end
|
9
|
+
|
5
10
|
config_param :tag, :string, :default => 'elapsed'
|
6
11
|
config_param :add_tag_prefix, :string, :default => nil
|
7
12
|
config_param :remove_tag_prefix, :string, :default => nil
|
@@ -42,7 +47,7 @@ module Fluent
|
|
42
47
|
unless type
|
43
48
|
raise ConfigError, "Missing 'type' parameter on <store> directive"
|
44
49
|
end
|
45
|
-
|
50
|
+
log.debug "adding store type=#{type.dump}"
|
46
51
|
|
47
52
|
output = Plugin.new_output(type)
|
48
53
|
output.configure(e)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-elapsed-time
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naotoshi Seo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|