zipkin-tracer 0.18.1 → 0.18.2
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.
- checksums.yaml +8 -8
- data/lib/zipkin-tracer/trace.rb +3 -2
- data/lib/zipkin-tracer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MTBmYTA3OWEyN2U5MzA2NDMxMjBmZGJmMjQxOGQ4YzJjZDQyMDhkMw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NmQyMjYwNzQ2NDMwMTAyNmIzYmYzZWIzMGZkZTJlZWE1ODU2NzA1OQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YTM5ZmU2YzI3Y2MzNmZlYTIyMjgxYWRkMzVjZjM5NGI2YWViZTg4YzM1YTFl
|
|
10
|
+
OTRkNmFhZmM0MDQwNjQ4YWMzNGMwNzZlOTc0NGYzNGMyNjdhMmNkZjdkZWQ3
|
|
11
|
+
NWFiZTNhMjQyYTgwYmUyZTZlYmI0NWQyNWVkMjVhOTU0MDRkNzc=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NWY4ZGI1NjliYmU0YThiYzRiZTMxMDgzNjk4YzAyMTE1NTI2NzAxNDJkN2Vj
|
|
14
|
+
OTIyM2JmNGU1ZTQzZWEyZjZjMGM5ZWRiOGE0YjcxZjkwMzlkYjVlZDU2ZGJi
|
|
15
|
+
NjFkZjcwNzU4ZDlkNzlkMThmNGI0N2RhNWVjNTI1Y2RiNDVkOWU=
|
data/lib/zipkin-tracer/trace.rb
CHANGED
|
@@ -33,17 +33,18 @@ module Trace
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
def to_h
|
|
36
|
-
{
|
|
36
|
+
h = {
|
|
37
37
|
name: @name,
|
|
38
38
|
traceId: @span_id.trace_id.to_s,
|
|
39
39
|
id: @span_id.span_id.to_s,
|
|
40
|
-
parentId: @span_id.parent_id.nil? ? nil : @span_id.parent_id.to_s,
|
|
41
40
|
annotations: @annotations.map(&:to_h),
|
|
42
41
|
binaryAnnotations: @binary_annotations.map(&:to_h),
|
|
43
42
|
timestamp: @timestamp,
|
|
44
43
|
duration: @duration,
|
|
45
44
|
debug: @debug
|
|
46
45
|
}
|
|
46
|
+
h[:parentId] = @span_id.parent_id.to_s unless @span_id.parent_id.nil?
|
|
47
|
+
h
|
|
47
48
|
end
|
|
48
49
|
|
|
49
50
|
# We record information into spans, then we send these spans to zipkin
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zipkin-tracer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.18.
|
|
4
|
+
version: 0.18.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Franklin Hu
|
|
@@ -13,7 +13,7 @@ authors:
|
|
|
13
13
|
autorequire:
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
|
-
date: 2016-
|
|
16
|
+
date: 2016-06-22 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: faraday
|