opentelemetry-propagator-ottrace 0.20.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/README.md +1 -1
- data/lib/opentelemetry/propagator/ottrace/text_map_propagator.rb +4 -4
- data/lib/opentelemetry/propagator/ottrace/version.rb +1 -1
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14db3a0c0374ca4573529297d3ea1b3c2349882a82b7cc2e0464657aa4936579
|
4
|
+
data.tar.gz: afc84d4a0af4619a89ede478fc7609ffe549c871cbbf6106c64c8e683e092f4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c3e85840f70d7d139e73e46461bd637c7c41e4e5173db6dc5ee723001fea80c876f9352e5346e1b6627a32726a0a3f936882503a78a9a54c1e4cb801495ab4a
|
7
|
+
data.tar.gz: 93bd9785ab9c156f9b702c8aa15fce0f9dd86560657421939687657c18eebb0194e0aa979db6a6549ead2b6153cb7e90c4aca29d91a1389b08cec008698e3eec
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release History: opentelemetry-propagator-ottrace
|
2
2
|
|
3
|
+
### v0.21.0 / 2023-04-17
|
4
|
+
|
5
|
+
* BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
6
|
+
|
7
|
+
* ADDED: Drop support for EoL Ruby 2.7
|
8
|
+
* DOCS: Update URLs to rubydocs
|
9
|
+
|
10
|
+
### v0.20.1 / 2023-01-14
|
11
|
+
|
12
|
+
* DOCS: Fix gem homepage
|
13
|
+
* DOCS: More gem documentation fixes
|
14
|
+
|
3
15
|
### v0.20.0 / 2022-06-09
|
4
16
|
|
5
17
|
* (No significant changes)
|
@@ -32,7 +44,7 @@
|
|
32
44
|
|
33
45
|
* BREAKING CHANGE: Replace TextMapInjector/TextMapExtractor pairs with a TextMapPropagator.
|
34
46
|
|
35
|
-
[Check the propagator documentation](https://
|
47
|
+
[Check the propagator documentation](https://www.rubydoc.info/gems/opentelemetry-propagator-ottrace) for the new usage.
|
36
48
|
|
37
49
|
* FIXED: Refactor propagators to add #fields
|
38
50
|
|
data/README.md
CHANGED
@@ -81,7 +81,7 @@ The `opentelemetry-propagator-ottrace` gem is distributed under the Apache 2.0 l
|
|
81
81
|
[opentelemetry-home]: https://opentelemetry.io
|
82
82
|
[bundler-home]: https://bundler.io
|
83
83
|
[repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
|
84
|
-
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
|
84
|
+
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
|
85
85
|
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
|
86
86
|
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
87
87
|
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
|
@@ -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}$/i
|
22
|
-
VALID_SPAN_ID_REGEX = /^[0-9a-f]{16}$/i
|
21
|
+
VALID_TRACE_ID_REGEX = /^[0-9a-f]{32}$/i
|
22
|
+
VALID_SPAN_ID_REGEX = /^[0-9a-f]{16}$/i
|
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'
|
@@ -28,8 +28,8 @@ module OpenTelemetry
|
|
28
28
|
FIELDS = [TRACE_ID_HEADER, SPAN_ID_HEADER, SAMPLED_HEADER].freeze
|
29
29
|
|
30
30
|
# https://github.com/open-telemetry/opentelemetry-specification/blob/14d123c121b6caa53bffd011292c42a181c9ca26/specification/context/api-propagators.md#textmap-propagator0
|
31
|
-
VALID_BAGGAGE_HEADER_NAME_CHARS = /^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]
|
32
|
-
INVALID_BAGGAGE_HEADER_VALUE_CHARS = /[^\t\u0020-\u007E\u0080-\u00FF]
|
31
|
+
VALID_BAGGAGE_HEADER_NAME_CHARS = /^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/
|
32
|
+
INVALID_BAGGAGE_HEADER_VALUE_CHARS = /[^\t\u0020-\u007E\u0080-\u00FF]/
|
33
33
|
|
34
34
|
private_constant :PADDING, :VALID_TRACE_ID_REGEX, :VALID_SPAN_ID_REGEX, :TRACE_ID_64_BIT_WIDTH, :TRACE_ID_HEADER,
|
35
35
|
:SPAN_ID_HEADER, :SAMPLED_HEADER, :BAGGAGE_HEADER_PREFIX, :FIELDS, :VALID_BAGGAGE_HEADER_NAME_CHARS,
|
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.
|
4
|
+
version: 0.21.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:
|
11
|
+
date: 2023-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.4'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,42 +58,42 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '13.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '13.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 1.49.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 1.49.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.22.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.22.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: yard
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,14 +137,14 @@ files:
|
|
137
137
|
- lib/opentelemetry/propagator/ottrace.rb
|
138
138
|
- lib/opentelemetry/propagator/ottrace/text_map_propagator.rb
|
139
139
|
- lib/opentelemetry/propagator/ottrace/version.rb
|
140
|
-
homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
140
|
+
homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
141
141
|
licenses:
|
142
142
|
- Apache-2.0
|
143
143
|
metadata:
|
144
|
-
changelog_uri: https://
|
145
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/propagator/ottrace
|
146
|
-
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
147
|
-
documentation_uri: https://
|
144
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-propagator-ottrace/0.21.0/file/CHANGELOG.md
|
145
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/propagator/ottrace
|
146
|
+
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
147
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-propagator-ottrace/0.21.0
|
148
148
|
post_install_message:
|
149
149
|
rdoc_options: []
|
150
150
|
require_paths:
|
@@ -153,14 +153,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
153
|
requirements:
|
154
154
|
- - ">="
|
155
155
|
- !ruby/object:Gem::Version
|
156
|
-
version:
|
156
|
+
version: '3.0'
|
157
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
158
|
requirements:
|
159
159
|
- - ">="
|
160
160
|
- !ruby/object:Gem::Version
|
161
161
|
version: '0'
|
162
162
|
requirements: []
|
163
|
-
rubygems_version: 3.
|
163
|
+
rubygems_version: 3.2.33
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: OTTrace Context Propagation Extension for the OpenTelemetry framework
|