fluent-plugin-graphite 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-graphite.gemspec +1 -1
- data/lib/fluent/plugin/out_graphite.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5d7c5c4da034f474784fdad09112ad3ba6cf9eb
|
4
|
+
data.tar.gz: be9b531f7d1d03bd37423d5bf82c52178a842864
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: added0ebac9ecc62fb8128e822e2cecc98b1f9a109fe697b2fc2bc889ae57b51868c1dd0a35c106d086bd58f2fb4ba1c723b53e2e9f650f367ad7b3ec8e136b8
|
7
|
+
data.tar.gz: 0e03c783a798a82193218495c82dab516e18f0b6bd97a59f3800c409650f3a7becdcc71eefb91f44a2e4a9e9c2315304ce02de3b6f2eeedb3e95b53a176f5e11
|
@@ -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-graphite'
|
6
|
-
gem.version = '0.0.
|
6
|
+
gem.version = '0.0.4'
|
7
7
|
gem.authors = ['Satoshi SUZUKI']
|
8
8
|
gem.email = 'studio3104.com@gmail.com'
|
9
9
|
gem.homepage = 'https://github.com/studio3104/fluent-plugin-graphite'
|
@@ -12,6 +12,11 @@ class Fluent::GraphiteOutput < Fluent::Output
|
|
12
12
|
config_param :name_keys, :string, default: nil
|
13
13
|
config_param :name_key_pattern, :string, default: nil
|
14
14
|
|
15
|
+
# Define `log` method for v0.10.42 or earlier
|
16
|
+
unless method_defined?(:log)
|
17
|
+
define_method(:log) { $log }
|
18
|
+
end
|
19
|
+
|
15
20
|
def initialize
|
16
21
|
super
|
17
22
|
require 'graphite-api'
|