rubyzipkin 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rubyzipkin.rb +6 -1
- data/lib/rubyzipkin/version.rb +1 -1
- metadata +4 -4
data/lib/rubyzipkin.rb
CHANGED
@@ -75,7 +75,12 @@ module RubyZipkin extend self
|
|
75
75
|
if @redis and (Time.now - $redis_check_time) > 1 #5 minutes
|
76
76
|
@sampled_ids = []
|
77
77
|
keys = Redis::Safe.instance(:default).get("zipkin_trace_keys")
|
78
|
-
|
78
|
+
|
79
|
+
# Lookup in trace keys only if som keys have been found
|
80
|
+
unless keys.nil?
|
81
|
+
keys.each { |i| @sampled_ids.push( i.split('_')[1] ) }
|
82
|
+
end
|
83
|
+
|
79
84
|
$redis_check_time = Time.now
|
80
85
|
end
|
81
86
|
end
|
data/lib/rubyzipkin/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyzipkin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 5
|
10
|
+
version: 0.4.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ivan Marcin
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2014-02-
|
18
|
+
date: 2014-02-06 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: scribe
|