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 +4 -4
- data/lib/ffwd/processor/count.rb +1 -1
- data/lib/ffwd/protocol/tcp/bind.rb +3 -0
- data/lib/ffwd/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d9299dcdb477dd0dd4786cb186c339b933772f6
|
4
|
+
data.tar.gz: aa52c143bf6ae5d430fc2bcb53c7d5d2ba4b61ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6273f14b9b5ab2d171c0dffc558f5dbe4cfde8abbc2592c5fd03a64b29ff71f341a222e58f93b0c03102b4011f7f7441e6be5a3f43f55f389c464dc95d565557
|
7
|
+
data.tar.gz: baf207eda5c579b93a09ebce31729e2f8287051a8300daf53de5ac66ed37c0b81bda27e2665cd08a5120a062d89c0d9b2e12574949623ffd57f0ad8f3867a0eb
|
data/lib/ffwd/processor/count.rb
CHANGED
@@ -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
|
data/lib/ffwd/version.rb
CHANGED
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
|
+
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-
|
12
|
+
date: 2014-11-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: eventmachine
|