rubyzipkin 0.3.10 → 0.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,6 @@
1
1
  require 'finagle-thrift'
2
2
  require 'finagle-thrift/trace'
3
3
 
4
-
5
4
  #writes properties and request headers as metadata into a trace
6
5
  module RubyZipkin
7
6
  class MetadataLogger
@@ -1,3 +1,3 @@
1
1
  module RubyZipkin
2
- VERSION = "0.3.10"
2
+ VERSION = "0.3.11"
3
3
  end
data/lib/rubyzipkin.rb CHANGED
@@ -14,13 +14,10 @@ module RubyZipkin extend self
14
14
 
15
15
  class RackHandler
16
16
 
17
- def initialize(app, service_name, scribe_server, scribe_port, uri_filter_list = [], http_header_filter_list = [], scribe_max_buffer = 10, uri_sample_filter_list = {} , sampling_rate = 0.01)
17
+ def initialize(app, service_name, scribe_server, scribe_port, uri_filter_list = [], http_header_filter_list = [], scribe_max_buffer = 10, sampling_rate = 0.01, uri_sample_filter_list = {})
18
18
  @app = app
19
19
  @lock = Mutex.new
20
20
 
21
- puts "sampling rate = #{sampling_rate}"
22
- puts "uri_sample_filter_list = #{uri_sample_filter_list}"
23
-
24
21
  @service_name = service_name
25
22
  @scribe_port = scribe_port
26
23
  @sample_rate = sampling_rate
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: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 10
10
- version: 0.3.10
9
+ - 11
10
+ version: 0.3.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ivan Marcin
@@ -34,21 +34,37 @@ dependencies:
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  - !ruby/object:Gem::Dependency
37
- name: finagle-thrift
37
+ name: thrift
38
38
  prerelease: false
39
39
  requirement: &id002 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
43
43
  - !ruby/object:Gem::Version
44
- hash: 27
44
+ hash: 59
45
45
  segments:
46
- - 1
47
- - 3
48
46
  - 0
49
- version: 1.3.0
47
+ - 9
48
+ - 0
49
+ version: 0.9.0
50
50
  type: :runtime
51
51
  version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
53
+ name: finagle-thrift
54
+ prerelease: false
55
+ requirement: &id003 !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ hash: 31
61
+ segments:
62
+ - 1
63
+ - 2
64
+ - 0
65
+ version: 1.2.0
66
+ type: :runtime
67
+ version_requirements: *id003
52
68
  description: Track rack header requests on zipkin
53
69
  email:
54
70
  - ivan.marcin@lookout.com