opentelemetry-propagator-xray 0.18.0 → 0.19.0

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: 2d0735e817eaadca93f29f109f7559a018c465c0c7a86912226aca539d1efa8e
4
- data.tar.gz: bcee3040fdcd1ec9d3dd517537008ebfcc31b3ab31da2c57f38aa27eb7d529b4
3
+ metadata.gz: 89391742d88b6bac32e0dc80d3765deb50e12d5d42baca5647acfb323f405a2b
4
+ data.tar.gz: 06a5bab1b6a8fa872319609f3d57766403c14f4f52c3b8d5bcb8248ea641560e
5
5
  SHA512:
6
- metadata.gz: 17490cbe384e862e540f5cc3d5e526c37290e353030ec5d840cbd29bc614c9e71d1b9a5d9993860aba1974a4640310e6d6297406cdb7d6a5e34c1f57a47a2511
7
- data.tar.gz: b05aeca8f0e1e306b280760e734bdcf899539d69099bc5145fa169891edf6d614296f472b827e42faeb3c8b01791166ff9dc9fd1a9765eb0163c4977e41beb45
6
+ metadata.gz: 4c340040a81ca5b8a78bde572a7ec9f131c01c96c734a7a2150d837ce0fa0f7a74b9a05debff03732886060ecadfde933246a5bf89edec425febc0b059a07b37
7
+ data.tar.gz: c34b0bf30ae46b686dcd753c0f686890aa13454d50ef224b29f112162e99756b52c01824f1119e4c85cc5bd6c75dca95182f9b902b890141913b7e3373d97fdb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release History: opentelemetry-propagator-xray
2
2
 
3
+ ### v0.19.0 / 2021-06-23
4
+
5
+ * FIXED: XRay propagator null exception (#833)
6
+ * ADDED: Add Tracer.non_recording_span to API
7
+
3
8
  ### v0.18.0 / 2021-05-21
4
9
 
5
10
  * ADDED: Updated API depedency for 1.0.0.rc1
@@ -38,6 +38,8 @@ module OpenTelemetry
38
38
  # if extraction fails
39
39
  def extract(carrier, context: Context.current, getter: Context::Propagation.text_map_getter)
40
40
  header = getter.get(carrier, XRAY_CONTEXT_KEY)
41
+ return context unless header
42
+
41
43
  match = parse_header(header)
42
44
  return context unless match
43
45
 
@@ -49,7 +51,7 @@ module OpenTelemetry
49
51
  remote: true
50
52
  )
51
53
 
52
- span = Trace::Span.new(span_context: span_context)
54
+ span = OpenTelemetry::Trace.non_recording_span(span_context)
53
55
  context = XRay.context_with_debug(context) if match['sampling_state'] == 'd'
54
56
  Trace.context_with_span(span, parent_context: context)
55
57
  rescue OpenTelemetry::Error
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Propagator
9
9
  module XRay
10
- VERSION = '0.18.0'
10
+ VERSION = '0.19.0'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-propagator-xray
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-21 00:00:00.000000000 Z
11
+ date: 2021-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0.rc1
19
+ version: 1.0.0.rc2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0.rc1
26
+ version: 1.0.0.rc2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -141,10 +141,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
141
141
  licenses:
142
142
  - Apache-2.0
143
143
  metadata:
144
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-propagator-xray/v0.18.0/file.CHANGELOG.html
144
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-propagator-xray/v0.19.0/file.CHANGELOG.html
145
145
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/propagator/xray
146
146
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
147
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-propagator-xray/v0.18.0
147
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-propagator-xray/v0.19.0
148
148
  post_install_message:
149
149
  rdoc_options: []
150
150
  require_paths: