adp-fluent-plugin-graphite 0.0.10 → 0.0.11

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b2ff8feec4a9179c48a59aabd67ff2831ed395b94fcd18c82ee763e17cf942c
4
- data.tar.gz: 14b628cb174406a1b1186c6d27380de5a9dafd1657c0e8701c4973bf934848e3
3
+ metadata.gz: 5ccc0434567a05d9a3845e7addddd73b4ba7c4fc7b5a5d048975c704b33a09c6
4
+ data.tar.gz: 2fbb1d973ff684abbcb9e6698dc9c14815425b481b7ada47bba9d75eae8d8c68
5
5
  SHA512:
6
- metadata.gz: 86d6c05025b6566d15d28a38ca588f72a07f7298179d8e0365aaf3c1fc456dbd99661d6ddad2d8942bf1e643eed46656ca71ae6bbd6e8b57f110645e12f09d71
7
- data.tar.gz: 6fe0e193ec64ed235d2b8ca8f1d655214be9090ef126968c8c4f4210e789663a3db4be9c46a8d1a10beda042a788af37473fef42516e4631b6411504a9a28a2b
6
+ metadata.gz: 6f41e09278d517a79fc9d004eafaea6cab4b4ac72d8e5cef27ead3cdf51de27b2dca8bb9e65c9c7d43b9748b0bb71037177b96b28c72df1cf94e69187d19f361
7
+ data.tar.gz: 79e3fe164b2bcb206b4d2e5e8a777557f372db0fd86afd4a46e29868eb47205e7ba2da69f79d0dd0efe083dda003f08de937d1e14d965c59d0377a0e0527112f
@@ -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.10'
6
+ gem.version = '0.0.11'
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'
@@ -33,10 +33,9 @@ module Fluent::Plugin
33
33
  es.each do |time, record|
34
34
  emit_tag = tag.dup
35
35
  log.info("Emit graphite plugin: #{record}")
36
- next unless metrics = format_metrics(emit_tag, record)
37
36
 
38
37
  # implemented to immediate call post method in this loop, because graphite-api.gem has the buffers.
39
- post(metrics, time)
38
+ post(emit_tag, time)
40
39
  end
41
40
 
42
41
  end
@@ -49,7 +48,9 @@ module Fluent::Plugin
49
48
  record.select { |k, v| @name_key_pattern.match(k.to_s) }
50
49
  end
51
50
 
52
- return nil if filtered_record.empty?
51
+ return nil if filtered_r
52
+
53
+ ecord.empty?
53
54
 
54
55
  metrics = {}
55
56
  tag = tag.sub(/\.$/, '') # may include a dot at the end of the emit_tag fluent-mixin-rewrite-tag-name returns. remove it.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adp-fluent-plugin-graphite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Satoshi SUZUKI