lightstep 0.10.5 → 0.10.6

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: 8093579b2f9408a1ef5e89c3c441afed0a0bf6bf
4
- data.tar.gz: 23ddf77975e6afcb3d45a082e21758b52c970b82
3
+ metadata.gz: 2677a0eaf78b27c9f6dec64c7ba0ad25c25e4bbc
4
+ data.tar.gz: 024f0466b0b7c7bd2da3cbcdb18886c5f105284e
5
5
  SHA512:
6
- metadata.gz: 9e985656f8072f3b35d21a74bfd6bde7d908bbef59478cda5d579306f4cc9d3803a99e82308517bd7cc3720d7fef349bb338a1c91b918cb5431ca4c32110eacc
7
- data.tar.gz: 6e47a0c1f14ff30a382549f255050e0f3ac6a629ca879d5cbf4f3bb501a5e173016cd1d26ec7bff79e1bc5305801a32188b2ea4b632c75ad67edcfde740939d6
6
+ metadata.gz: 8db9300300d9057cca0765ae5ceaf428fcad96e0347b7a507d9e518b4f35dc01edbf30a189a1e8c862e3fac80c282ecb7d68fdd5245e5392d67c17dd7f22c25d
7
+ data.tar.gz: 7807ac883cbacad96ff841617b7fdda79ff9fc7c4b1bf81a92b39ab84ef0a393672469ee3aa979a9375f0a9f929bb07aef6bea156f3b61b7bb1700a1396ed81d
data/benchmark.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'json'
2
2
  require 'lightstep'
3
+ require 'opentracing'
3
4
  require 'net/http'
4
5
  require 'pp'
5
6
  require 'uri'
@@ -15,10 +16,7 @@ $test_tracer = LightStep::Tracer.new(
15
16
  access_token: 'none'
16
17
  )
17
18
  )
18
- $noop_tracer = LightStep::Tracer.new(
19
- component_name: 'ruby',
20
- transport: LightStep::Transport::Nil.new
21
- )
19
+ $noop_tracer = OpenTracing::Tracer.new
22
20
 
23
21
  $prime_work = 982451653
24
22
  $logs_memory = ""
@@ -11,7 +11,7 @@ module LightStep
11
11
 
12
12
  # Internal use only
13
13
  # @private
14
- attr_reader :start_micros, :end_micros, :baggage, :tags, :operation_name, :span_context
14
+ attr_reader :start_micros, :end_micros, :tags, :operation_name, :span_context
15
15
 
16
16
  # Creates a new {Span}
17
17
  #
@@ -82,7 +82,7 @@ module LightStep
82
82
  )
83
83
 
84
84
  if Span === child_of
85
- span.set_baggage(child_of.baggage)
85
+ span.set_baggage(child_of.span_context.baggage)
86
86
  end
87
87
 
88
88
  span
@@ -1,3 +1,3 @@
1
1
  module LightStep
2
- VERSION = '0.10.5'.freeze
2
+ VERSION = '0.10.6'.freeze
3
3
  end
data/lightstep.gemspec CHANGED
@@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.require_paths = ['lib']
18
18
 
19
19
  spec.add_dependency 'concurrent-ruby', '~> 1.0'
20
+ spec.add_dependency 'opentracing', '~> 0.2'
20
21
  spec.add_development_dependency 'rake', '~> 11.3'
21
22
  spec.add_development_dependency 'rack', '~> 2.0'
22
23
  spec.add_development_dependency 'rspec', '~> 3.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lightstep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.5
4
+ version: 0.10.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - bcronin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-11 00:00:00.000000000 Z
11
+ date: 2017-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: opentracing
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.2'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement