lookout-zipkin-tracer 0.4.0-java → 0.4.1-java

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: d590ed9849cf8a45bc1346e7be7f14de75257715
4
- data.tar.gz: a81d55e21d250d3fc2470676ef45290a94e2d342
3
+ metadata.gz: 0ff457023bcad25958a69ce8d9dee7aab79e33d4
4
+ data.tar.gz: f3a146e27bd6e8e04144f3cda9452b179056ea38
5
5
  SHA512:
6
- metadata.gz: 4491283ce8e1d5ec5d7cb4bb7008b38246df809ebe1ec6efc4df8091adfc70386c7189547ee6c2b41a545f49806df764deb84f91df3427f3033f41efcb02a9cc
7
- data.tar.gz: b37e411569e345294bdabf78be543de197707b3aacd8871b328736a5df48e1241506aa5cc8868a7dc582fb6afd39d2e3a269c72c85b5c1c0e77269421b07cc38
6
+ metadata.gz: 57b07bb31b36f59be5a99a4c6a83f39d1790e9173d00606b67bd362f4aa82b3e96d5bcec87d9a74b521e89dbe49f176c75f2602db53cce950533ceb4c2b7f331
7
+ data.tar.gz: ceedff6b6f98f3b0588e061a8a59e70cbf5f89708969ac7e4dcbf6b9ba84111ced638058caf019173e22cd2ab4500c9c7c04853e7fee45cba2f01d73bd1e8b50
@@ -12,6 +12,6 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
  module ZipkinTracer
15
- VERSION = "0.4.0"
15
+ VERSION = "0.4.1"
16
16
  end
17
17
 
data/lib/zipkin-tracer.rb CHANGED
@@ -38,7 +38,9 @@ module ZipkinTracer extend self
38
38
  scribe_max_buffer = config[:scribe_max_buffer] ? config[:scribe_max_buffer] : 10
39
39
  ::Trace.tracer = ::Trace::ZipkinTracer.new(careless_scribe, scribe_max_buffer)
40
40
  elsif config[:zookeeper]
41
- ::Trace.tracer = ::Trace::ZipkinKafkaTracer.new(config[:zookeeper])
41
+ kafkaTracer = ::Trace::ZipkinKafkaTracer.new
42
+ kafkaTracer.connect(config[:zookeeper])
43
+ ::Trace.tracer = kafkaTracer
42
44
  end
43
45
 
44
46
  @sample_rate = config[:sample_rate] ? config[:sample_rate] : 0.1
@@ -46,8 +48,6 @@ module ZipkinTracer extend self
46
48
  @annotate_plugin = config[:annotate_plugin] # call for trace annotation
47
49
  @filter_plugin = config[:filter_plugin] # skip tracing if returns false
48
50
  @whitelist_plugin = config[:whitelist_plugin] # force sampling if returns true
49
-
50
-
51
51
  end
52
52
 
53
53
  def call(env)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lookout-zipkin-tracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: java
6
6
  authors:
7
7
  - Ariel Salomon, Franklin Hu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-11 00:00:00.000000000 Z
11
+ date: 2015-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: finagle-thrift