ruby-zipkin 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module RubyZipkin
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
data/lib/ruby-zipkin.rb CHANGED
@@ -31,16 +31,9 @@ module RubyZipkin extend self
31
31
  env[ZipkinTraceHeader::PARENT_SPAN_ID] = @spanid
32
32
  env[ZipkinTraceHeader::TRACE_ID] = @tid
33
33
 
34
- # the debug trace
35
- #id = ::Trace::TraceId.new(@tid, nil, ::Trace.generate_id, true, ::Trace::Flags::DEBUG)
36
- #::Trace.push(id)
37
- #::Trace.set_rpc_name("debug")
38
- #::Trace.record(::Trace::BinaryAnnotation.new("http.uri", '/debug', "STRING", ::Trace.default_endpoint))
39
-
40
34
  @status, @headers, @response = @app.call(env)
41
35
  tracing_filter(get_or_create_trace_id2(env), env, @headers)
42
36
 
43
- #::Trace.pop
44
37
  rescue => e
45
38
  #Tracing errors shouldn't block a request.
46
39
  Rails.logger.info "Zipkin error: #{e} \n #{e.backtrace}"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-zipkin
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 7
10
- version: 0.2.7
9
+ - 8
10
+ version: 0.2.8
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: 2013-10-08 00:00:00 Z
18
+ date: 2013-10-18 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: finagle-thrift