fluent-plugin-eventcounter 0.0.1 → 0.0.2

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.
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-eventcounter"
4
- gem.version = "0.0.1"
4
+ gem.version = "0.0.2"
5
5
  gem.authors = ["Sean Dick", "Change.org"]
6
6
  gem.email = ["sean@change.org"]
7
7
  gem.homepage = "https://github.com/seanmdick/fluent-plugin-eventcounter"
@@ -68,12 +68,10 @@ class Fluent::EventCounterOutput < Fluent::BufferedOutput
68
68
  counts.each do |tag,events|
69
69
  events.each do |event, c|
70
70
  redis_key = [@redis_output_key,tag].join(':')
71
- Fluent::Engine.emit(@emit_to, Time.now, redis_key => { event => c})
72
71
  @redis.hincrby(redis_key, event, c.to_i)
73
72
  end
74
73
  end
75
74
  end
76
75
  end
77
76
  end
78
-
79
77
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-eventcounter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: