opentelemetry-propagator-xray 0.21.0 → 0.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/opentelemetry/propagator/xray/text_map_propagator.rb +1 -1
- data/lib/opentelemetry/propagator/xray/version.rb +1 -1
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 809d1bfa1d87803433f6527db936a166d1562f7a076cc1def7a30eccce1ae4c8
|
4
|
+
data.tar.gz: 40423666bc44a3d3f80c44de625b9aff432ac356b71c0096ced61bc7313776a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6a53183b4e5663e2c720fdd97d24ce218262063165a57c80ec9ac443fe3496c7b31c282312f55b11e3538913a15d5996d49a51a62eb219687a57cb1d0103891
|
7
|
+
data.tar.gz: 786f14b3790a2c839adfe01191a67c99d2603365021d3d6844ef078fe4418caa04f12de01a769355649547772f0fc79165c729848083dd3c28f5667e2dc8edbd
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -53,7 +53,7 @@ The `opentelemetry-propagator-xray` gem is distributed under the Apache 2.0 lice
|
|
53
53
|
[opentelemetry-home]: https://opentelemetry.io
|
54
54
|
[bundler-home]: https://bundler.io
|
55
55
|
[repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
|
56
|
-
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
|
56
|
+
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
|
57
57
|
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
|
58
58
|
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
59
59
|
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
|
@@ -18,7 +18,7 @@ module OpenTelemetry
|
|
18
18
|
# Propagates context in carriers in the xray single header format
|
19
19
|
class TextMapPropagator
|
20
20
|
XRAY_CONTEXT_KEY = 'X-Amzn-Trace-Id'
|
21
|
-
XRAY_CONTEXT_REGEX = /\ARoot=(?<trace_id>([a-z0-9\-]{35}))(?:;Parent=(?<span_id>([a-z0-9]{16})))?(?:;Sampled=(?<sampling_state>[01d](?![0-9a-f])))?(?:;(?<trace_state>.*))?\Z/.freeze
|
21
|
+
XRAY_CONTEXT_REGEX = /\ARoot=(?<trace_id>([a-z0-9\-]{35}))(?:;Parent=(?<span_id>([a-z0-9]{16})))?(?:;Sampled=(?<sampling_state>[01d](?![0-9a-f])))?(?:;(?<trace_state>.*))?\Z/.freeze # rubocop:disable Lint/MixedRegexpCaptureTypes
|
22
22
|
SAMPLED_VALUES = %w[1 d].freeze
|
23
23
|
FIELDS = [XRAY_CONTEXT_KEY].freeze
|
24
24
|
|
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.21.
|
4
|
+
version: 0.21.1
|
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-01-14 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,28 +58,28 @@ 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.41.1
|
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.41.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,14 +138,14 @@ files:
|
|
138
138
|
- lib/opentelemetry/propagator/xray/id_generator.rb
|
139
139
|
- lib/opentelemetry/propagator/xray/text_map_propagator.rb
|
140
140
|
- lib/opentelemetry/propagator/xray/version.rb
|
141
|
-
homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
141
|
+
homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
142
142
|
licenses:
|
143
143
|
- Apache-2.0
|
144
144
|
metadata:
|
145
|
-
changelog_uri: https://
|
146
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/
|
147
|
-
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
148
|
-
documentation_uri: https://
|
145
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-propagator-xray/0.21.1/file/CHANGELOG.md
|
146
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/propagator/xray
|
147
|
+
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
148
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-propagator-xray/0.21.1
|
149
149
|
post_install_message:
|
150
150
|
rdoc_options: []
|
151
151
|
require_paths:
|