zipkin 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zipkin/span.rb +3 -1
- data/lib/zipkin/tracer.rb +2 -2
- data/zipkin.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9adbc2cee23454ef82c7b5b14b3d5e0b98d5dfca
|
4
|
+
data.tar.gz: 16ef2c75861ba60287682292021e274056bd48d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0956efffbff2a1da1b9ed1576da21e025b45a0819642768e6fdcde239f4099ce346e86aa00f7e276a4e73e60b96d730d666de4ea1761a25bbccca8534844cd7b'
|
7
|
+
data.tar.gz: c15d62ab53d912a541349068b4fb3062df67044b55b957faf220d8a25538dae5845a8882cf6e610418b1db29241218174f4e4cf045d2ad145326de4044e2201b
|
data/lib/zipkin/span.rb
CHANGED
@@ -25,9 +25,11 @@ module Zipkin
|
|
25
25
|
@operation_name = operation_name
|
26
26
|
@collector = collector
|
27
27
|
@start_time = start_time
|
28
|
-
@tags =
|
28
|
+
@tags = {}
|
29
29
|
@logs = []
|
30
30
|
@references = references
|
31
|
+
|
32
|
+
tags.each(&method(:set_tag))
|
31
33
|
end
|
32
34
|
|
33
35
|
# Set a tag value on this span
|
data/lib/zipkin/tracer.rb
CHANGED
@@ -75,7 +75,7 @@ module Zipkin
|
|
75
75
|
def start_span(operation_name,
|
76
76
|
child_of: nil,
|
77
77
|
start_time: Time.now,
|
78
|
-
tags:
|
78
|
+
tags: nil,
|
79
79
|
references: nil,
|
80
80
|
ignore_active_scope: false,
|
81
81
|
**)
|
@@ -90,7 +90,7 @@ module Zipkin
|
|
90
90
|
@collector,
|
91
91
|
start_time: start_time,
|
92
92
|
references: references,
|
93
|
-
tags: tags
|
93
|
+
tags: tags || {}
|
94
94
|
)
|
95
95
|
end
|
96
96
|
|
data/zipkin.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zipkin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SaleMove TechMovers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|