ffwd 0.3.4 → 0.3.5

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
  SHA1:
3
- metadata.gz: 19b60b2c8923bbecd85cbd6a2bc40ac8a99c95d6
4
- data.tar.gz: 4aa0401d6447c501fb9d36d505c9f9ff95b43ff3
3
+ metadata.gz: 4d9299dcdb477dd0dd4786cb186c339b933772f6
4
+ data.tar.gz: aa52c143bf6ae5d430fc2bcb53c7d5d2ba4b61ae
5
5
  SHA512:
6
- metadata.gz: 48be7e2e258018f5ef828f7d04618450e7a89bdcfa3b41a8c6dfc8b193c07482004ee552feadfca991b0b8b3d97efbe0f461d4b67ee7683a81a74d1ab94bc655
7
- data.tar.gz: 3a1f7f9b127abe7865bbd9fc8c3b822fa0b1a1663d46e98e4080541572eb8db6ddc65eef7222ab258c3d8d61ddb9bbd5299e85662495dcc9adb0128b334cfa51
6
+ metadata.gz: 6273f14b9b5ab2d171c0dffc558f5dbe4cfde8abbc2592c5fd03a64b29ff71f341a222e58f93b0c03102b4011f7f7441e6be5a3f43f55f389c464dc95d565557
7
+ data.tar.gz: baf207eda5c579b93a09ebce31729e2f8287051a8300daf53de5ac66ed37c0b81bda27e2665cd08a5120a062d89c0d9b2e12574949623ffd57f0ad8f3867a0eb
@@ -111,7 +111,7 @@ module FFWD::Processor
111
111
 
112
112
  now = Time.now
113
113
 
114
- cache_key = [key, (m[:attributes] || {})].hash
114
+ cache_key = [key, (m[:attributes] || {}), (m[:tags] || [])].hash
115
115
 
116
116
  unless (entry = @cache[cache_key])
117
117
  return increment :dropped if @cache.size >= @cache_limit
@@ -35,6 +35,9 @@ module FFWD::TCP
35
35
  report_key :failed_events, :meta => {:what => :failed_events, :unit => :event}
36
36
  report_key :received_events, :meta => {:what => :received_events, :unit => :event}
37
37
 
38
+ report_key :failed_metrics, :meta => {:what => :failed_metrics, :unit => :metric}
39
+ report_key :received_metrics, :meta => {:what => :received_metrics, :unit => :metric}
40
+
38
41
  attr_reader :log, :reporter_meta
39
42
 
40
43
  def initialize core, log, host, port, connection, config
@@ -14,5 +14,5 @@
14
14
  # the License.
15
15
 
16
16
  module FFWD
17
- VERSION = "0.3.4"
17
+ VERSION = "0.3.5"
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffwd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - John-John Tedro
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-11 00:00:00.000000000 Z
12
+ date: 2014-11-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine