adp-fluent-plugin-graphite 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cf1fde65bf527feec4f5bdcb3a1ac13c4e3479f7695a1662bd0484e4759ba9d
4
- data.tar.gz: 95dc1c0ec5507f58d0d1d98b7ce9979ae2760f2926010b971e72bf4acfc56313
3
+ metadata.gz: 19ff6c9fe8ebd12c1ce1d653f41bcd3319924fb6b6b24063d0c76fca1b8154d6
4
+ data.tar.gz: 0a1ff14f292042a5d91abe72d7558a5c6abef14b292f90ed4780990aa728f574
5
5
  SHA512:
6
- metadata.gz: 07c509264532d610cfb79f5b1d91d06e3d52a3fd5911169f290a6ffab67b6ea7484592b34b7d7a8aeb0b9693792e45ea4a89115b57786cc51955f5f02d7ec0fb
7
- data.tar.gz: '059c7d712b4cbc8030b48c1201ffccbf15ee42f54b6daad61c300deffc2bb808e69a23910dca5250e2475a304da8627fedb36a31342c6a05f028ccb2664e9a7f'
6
+ metadata.gz: 6538e229464e19fa0bf31f6a0a18c9dcc433fb5cec6cb27907c2ac72a1b28a1b3cf4ccecdba7bce17f55225ab743f674e9e4e384536d8a609ad1326a0e8df3eb
7
+ data.tar.gz: b090f1e79f6b28d73d6e89c6fd6775c7bcbc694c6752e7e4d11f04b76d273d9c114b49bca4c674b85bfeb8970e823bd10ad173418bf592385980edc553c0bd8f
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = 'adp-fluent-plugin-graphite'
6
- gem.version = '0.0.7'
6
+ gem.version = '0.0.8'
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'
@@ -18,7 +18,6 @@ Gem::Specification.new do |gem|
18
18
  gem.require_paths = ['lib']
19
19
 
20
20
  gem.add_runtime_dependency 'fluentd', '>= 0.10.17'
21
- gem.add_runtime_dependency 'fluent-mixin-rewrite-tag-name'
22
21
  gem.add_runtime_dependency 'graphite-api'
23
22
  gem.add_development_dependency 'rake'
24
23
  gem.add_development_dependency 'test-unit', '~> 3.2.0'
@@ -2,11 +2,9 @@ require 'fluent/plugin/output'
2
2
  require 'fluent/mixin/rewrite_tag_name'
3
3
 
4
4
  module Fluent::Plugin
5
- class GraphiteOutput < Output
5
+ class GraphiteOutput < Fluent::Plugin::Output
6
6
  Fluent::Plugin.register_output('graphite', self)
7
7
 
8
- include Fluent::Mixin::RewriteTagName
9
-
10
8
  config_param :host, :string
11
9
  config_param :port, :integer, default: 2003
12
10
  config_param :tag_for, :string, default: 'prefix'
@@ -27,9 +25,6 @@ module Fluent::Plugin
27
25
 
28
26
  def configure(conf)
29
27
  super
30
- if (!@tag && !@remove_tag_prefix && !@remove_tag_suffix && !@add_tag_prefix && !@add_tag_suffix)
31
- raise Fluent::ConfigError, "foo_bar: missing remove_tag_prefix, remove_tag_suffix, add_tag_prefix or add_tag_suffix."
32
- end
33
28
  if @name_keys
34
29
  @name_keys = @name_keys.split(',')
35
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adp-fluent-plugin-graphite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Satoshi SUZUKI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-19 00:00:00.000000000 Z
11
+ date: 2021-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.10.17
27
- - !ruby/object:Gem::Dependency
28
- name: fluent-mixin-rewrite-tag-name
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: graphite-api
43
29
  requirement: !ruby/object:Gem::Requirement