opentelemetry-propagator-ottrace 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: 51429d010ae8f5c03d96dd0a41c16b3018df043e939b5b1f5835e4828ad16b60
4
- data.tar.gz: 7453342ed37f5f6ab8841229b107f2d7d5a74cee4ae2d1713ea1993b2f323fdb
3
+ metadata.gz: 70494f660b52871d7f38e6d3440fde1bd2d8f79945a9c1de98d6af228e89777d
4
+ data.tar.gz: 98924af318f9aac641c6a74bb17b71bdf8a0c9b85a27452da53bf182e6c6cc92
5
5
  SHA512:
6
- metadata.gz: ff4ceb7cf1591615687dbd891b5c50844b71eae6cc276cc6ecf8df8d9c0848086c96866802af114744c4eed3caff2c0962d85d3404e86726aca8c54a3080e2b3
7
- data.tar.gz: 7b2667de48c2a4ab5a9a5cc49219e16773fb2a812965e6d2ad1c130ed381965d5dee78b14d72b3e7cad56601de9b7db165518d8fbdb215fbb9cd62a94e80a979
6
+ metadata.gz: 1db07a5e292149e0db21245024bbdd4530a8fc8778a3a7ccfb94381293c5ba60360679fcbb9ff2254f563947c6ae3ec2fd00a86e2771a62cd5ee7c4bda40c3a2
7
+ data.tar.gz: 87e3a3a14b2b6a47c67fde2a6e461bc0ba929d64ad25f8a7ae1de6e504c63cec21c439373c470972f29c614e0e52943afb800df8eab22c3ba84af8fb2ef9040a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-propagator-ottrace
2
2
 
3
+ ### v0.19.0 / 2021-06-23
4
+
5
+ * BREAKING CHANGE: Refactor Baggage to remove Noop*
6
+
7
+ * ADDED: Add Tracer.non_recording_span to API
8
+ * FIXED: Support Case Insensitive Trace and Span IDs
9
+ * FIXED: Refactor Baggage to remove Noop*
10
+
3
11
  ### v0.18.0 / 2021-05-21
4
12
 
5
13
  * ADDED: Updated API depedency for 1.0.0.rc1
@@ -18,8 +18,8 @@ module OpenTelemetry
18
18
  # Propagates context using OTTrace header format
19
19
  class TextMapPropagator
20
20
  PADDING = '0' * 16
21
- VALID_TRACE_ID_REGEX = /^[0-9a-f]{32}$/.freeze
22
- VALID_SPAN_ID_REGEX = /^[0-9a-f]{16}$/.freeze
21
+ VALID_TRACE_ID_REGEX = /^[0-9a-f]{32}$/i.freeze
22
+ VALID_SPAN_ID_REGEX = /^[0-9a-f]{16}$/i.freeze
23
23
  TRACE_ID_64_BIT_WIDTH = 64 / 4
24
24
  TRACE_ID_HEADER = 'ot-tracer-traceid'
25
25
  SPAN_ID_HEADER = 'ot-tracer-spanid'
@@ -60,7 +60,7 @@ module OpenTelemetry
60
60
  remote: true
61
61
  )
62
62
 
63
- span = Trace::Span.new(span_context: span_context)
63
+ span = OpenTelemetry::Trace.non_recording_span(span_context)
64
64
  Trace.context_with_span(span, parent_context: set_baggage(carrier: carrier, context: context, getter: getter))
65
65
  end
66
66
 
@@ -118,7 +118,7 @@ module OpenTelemetry
118
118
  end
119
119
 
120
120
  def baggage
121
- OpenTelemetry.baggage
121
+ OpenTelemetry::Baggage
122
122
  end
123
123
 
124
124
  def inject_span_context(span_context:, carrier:, setter:)
@@ -15,7 +15,7 @@ module OpenTelemetry
15
15
  module Propagator
16
16
  # Namespace for OpenTelemetry OTTrace propagation
17
17
  module OTTrace
18
- VERSION = '0.18.0'
18
+ VERSION = '0.19.0'
19
19
  end
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-propagator-ottrace
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
@@ -155,10 +155,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
155
155
  licenses:
156
156
  - Apache-2.0
157
157
  metadata:
158
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-propagator-ottrace/v0.18.0/file.CHANGELOG.html
158
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-propagator-ottrace/v0.19.0/file.CHANGELOG.html
159
159
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/propagator/ottrace
160
160
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
161
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-propagator-ottrace/v0.18.0
161
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-propagator-ottrace/v0.19.0
162
162
  post_install_message:
163
163
  rdoc_options: []
164
164
  require_paths: