opencensus-jaeger 0.2.2 → 0.2.3

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
  SHA256:
3
- metadata.gz: 74501549a673558184cd8e24a28d33fb889e698ac2541f265d2fbca3bd99093a
4
- data.tar.gz: c842e3db5a922a1e538b6a23d990dabcbf3ca41fb7db0845570aa7dab8b3b96d
3
+ metadata.gz: e755bcda22b6d8228d015bf591dde6b8457d06ca86204e6069dd2fb2baf40212
4
+ data.tar.gz: '095b2dfc152a24b5d530b6951c22e6be2157e51b4be6c3e00f98e602efa28e19'
5
5
  SHA512:
6
- metadata.gz: 86aab15334fc205a4898a3505d60051c4eb4bb7c7c3f7fb94bb28788b6449636b2dc18874d00ec897cd8756d0d1cc3d29072e79203ba6bc47543157f91815571
7
- data.tar.gz: 913e61597d6c0cdee7a2499507391e11eb464133b282baaba5f0cbb979ffbf99f1e285d454a864ac89682498d5a2c345f9032116f672234951ddd4ac46811cfa
6
+ metadata.gz: 95a1c0f70953ddc1880da3bd3ba60ea0c21e09ebbdd0b94ebdce0e7616d541b1fea7cb0826ed91064027d9cba2cfb78209b626130bca61d5d193209a27bcd482
7
+ data.tar.gz: '09581114a3fd1a13e40907dca9c598eb6509ce7e2cb51f472bcb9d8a2c9fe03b3a4daaf6229e1be930397398c151771ec099977a62e19b6ac059166e1c233d65'
@@ -6,24 +6,6 @@ test: &test
6
6
  - run: bundle exec rspec
7
7
 
8
8
  jobs:
9
- publish:
10
- docker:
11
- - image: ehdevops/ruby240:latest
12
- steps:
13
- - checkout
14
- - run: bundle check || bundle install --path=vendor/bundle --jobs=4 --retry=3
15
- - run:
16
- name: Deploy to gemfury
17
- command: |
18
- bundle exec ruby scripts/publish.rb
19
-
20
- test-2.3:
21
- steps: *test
22
- docker:
23
- - image: circleci/ruby:2.3-stretch
24
- environment:
25
- LOG_LEVEL: DEBUG
26
-
27
9
  test-2.4:
28
10
  steps: *test
29
11
  docker:
@@ -45,33 +27,22 @@ jobs:
45
27
  environment:
46
28
  LOG_LEVEL: DEBUG
47
29
 
30
+ test-2.7:
31
+ steps: *test
32
+ docker:
33
+ - image: circleci/ruby:2.7.0
34
+ environment:
35
+ LOG_LEVEL: DEBUG
36
+
48
37
  workflows:
49
38
  version: 2
50
39
  test:
51
40
  jobs:
52
- - test-2.3:
53
- context: org-global
54
41
  - test-2.4:
55
42
  context: org-global
56
43
  - test-2.5:
57
44
  context: org-global
58
45
  - test-2.6:
59
46
  context: org-global
60
- - publish_new_version:
61
- type: approval
62
- filters:
63
- branches:
64
- only:
65
- - employment-hero
66
- - publish:
47
+ - test-2.7:
67
48
  context: org-global
68
- filters:
69
- branches:
70
- only:
71
- - employment-hero
72
- requires:
73
- - test-2.3
74
- - test-2.4
75
- - test-2.5
76
- - test-2.6
77
- - publish_new_version
@@ -0,0 +1,2 @@
1
+ AllCops:
2
+ Enabled: false
@@ -1,5 +1,9 @@
1
1
  # RELEASE HISTORY
2
2
 
3
+ 0.2.3
4
+ ---------
5
+ - Fix invalid parent span IDs error (#14).
6
+
3
7
  0.2.2
4
8
  ---------
5
9
  - Support opencensus events and links.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OpenCensus
4
4
  module Jaeger
5
- VERSION = '0.2.2'
5
+ VERSION = '0.2.3'
6
6
  end
7
7
  end
@@ -27,11 +27,12 @@ module OpenCensus
27
27
  tags = build_thrift_tags(span.attributes)
28
28
  logs = build_logs(span.time_events)
29
29
  references = build_references(span.links)
30
+ trace_id = span.trace_id
30
31
  trace_id_high = base16_hex_to_int64(
31
- span.trace_id.slice(0, 16)
32
+ trace_id.slice(0, 16)
32
33
  )
33
34
  trace_id_low = base16_hex_to_int64(
34
- span.trace_id.slice(16)
35
+ trace_id.slice(16, trace_id.size)
35
36
  )
36
37
  span_id = base16_hex_to_int64(
37
38
  span.span_id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opencensus-jaeger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luong Vo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2020-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opencensus
@@ -102,6 +102,7 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - ".circleci/config.yml"
105
+ - ".ehreview.yml"
105
106
  - ".gitignore"
106
107
  - ".gitmodules"
107
108
  - ".rspec"
@@ -165,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
166
  - !ruby/object:Gem::Version
166
167
  version: '0'
167
168
  requirements: []
168
- rubygems_version: 3.0.6
169
+ rubygems_version: 3.1.2
169
170
  signing_key:
170
171
  specification_version: 4
171
172
  summary: Jaeger exporter for OpenCensus