opentelemetry-propagator-vitess 0.1.0 → 0.2.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 +10 -0
- data/README.md +6 -5
- data/lib/opentelemetry/propagator/vitess/sql_query_propagator.rb +2 -2
- data/lib/opentelemetry/propagator/vitess/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c72f3a8c7503b18df05be9ce7dedc4b8c4b4834b02c8df42907cc90e09d1c1b
|
4
|
+
data.tar.gz: ac6adead63fe83cf6db7c3bb8f2bf8409b4b50046c3f42867e06fe32d631ca1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9385b0183d5d528b23aaaf34fc4a51b7a1af32074f49f82908a0bb7f424715d8f2117d9a8e5f1f58bbb5151264381147f8ba038ddcda203f8b9b43879a4e6a1e
|
7
|
+
data.tar.gz: a96e6ca366746f9788be4ce91d0d909911ae68197f5d056c6983c8f279df29766c9e99a1d93111da5805fbf41397160b748af130e36358eec2016582c9a6eac0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release History: opentelemetry-propagator-vitess
|
2
2
|
|
3
|
+
### v0.2.0 / 2025-01-16
|
4
|
+
|
5
|
+
* BREAKING CHANGE: Set minimum supported version to Ruby 3.1
|
6
|
+
|
7
|
+
* ADDED: Set minimum supported version to Ruby 3.1
|
8
|
+
|
9
|
+
### v0.1.1 / 2024-11-26
|
10
|
+
|
11
|
+
* (No significant changes)
|
12
|
+
|
3
13
|
### v0.1.0 / 2024-02-08
|
4
14
|
|
5
15
|
Initial release.
|
data/README.md
CHANGED
@@ -31,7 +31,7 @@ This gem can be used with any OpenTelemetry SDK implementation. This can be the
|
|
31
31
|
|
32
32
|
Install the gem using:
|
33
33
|
|
34
|
-
```
|
34
|
+
```console
|
35
35
|
gem install opentelemetry-propagator-vitess
|
36
36
|
```
|
37
37
|
|
@@ -39,15 +39,15 @@ Or, if you use [bundler][bundler-home], include `opentelemetry-propagator-vitess
|
|
39
39
|
|
40
40
|
Configure your application to use this propagator with the Trilogy client instrumentation by setting the following [environment variable][envars]:
|
41
41
|
|
42
|
-
```
|
43
|
-
|
42
|
+
```console
|
43
|
+
OTEL_RUBY_INSTRUMENTATION_TRILOGY_CONFIG_OPTS=propagator=vitess
|
44
44
|
```
|
45
45
|
|
46
46
|
## How can I get involved?
|
47
47
|
|
48
48
|
The `opentelemetry-propagator-vitess` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`.
|
49
49
|
|
50
|
-
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry
|
50
|
+
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry Ruby special interest group (SIG). You can get involved by joining us on our [GitHub Discussions][discussions-url], [Slack Channel][slack-channel] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].
|
51
51
|
|
52
52
|
## License
|
53
53
|
|
@@ -61,4 +61,5 @@ The `opentelemetry-propagator-vitess` gem is distributed under the Apache 2.0 li
|
|
61
61
|
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
62
62
|
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
|
63
63
|
[vitess-spec]: https://vitess.io/docs/16.0/user-guides/configuration-advanced/tracing/#instrumenting-queries
|
64
|
-
[
|
64
|
+
[slack-channel]: https://cloud-native.slack.com/archives/C01NWKKMKMY
|
65
|
+
[envars]: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.20.0/specification/sdk-environment-variables.md#general-sdk-configuration
|
@@ -27,14 +27,14 @@ module OpenTelemetry
|
|
27
27
|
# @param [String] value The value to set
|
28
28
|
def set(carrier, key, value)
|
29
29
|
carrier.gsub!(/\A/, "/*#{key}=#{value}*/")
|
30
|
-
rescue FrozenError
|
30
|
+
rescue FrozenError # rubocop:disable Lint/SuppressedException
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
34
|
# Propagates context using Vitess header format:
|
35
35
|
# https://vitess.io/docs/16.0/user-guides/configuration-advanced/tracing/#instrumenting-queries
|
36
36
|
class SqlQueryPropagator
|
37
|
-
VT_SPAN_CONTEXT = 'VT_SPAN_CONTEXT'
|
37
|
+
VT_SPAN_CONTEXT = 'VT_SPAN_CONTEXT'
|
38
38
|
FIELDS = [VT_SPAN_CONTEXT].freeze
|
39
39
|
|
40
40
|
private_constant :VT_SPAN_CONTEXT, :FIELDS
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-propagator-vitess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -86,28 +86,28 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.
|
89
|
+
version: 1.69.1
|
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: 1.
|
96
|
+
version: 1.69.1
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop-performance
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 1.23.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 1.23.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: simplecov
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,11 +155,11 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
155
155
|
licenses:
|
156
156
|
- Apache-2.0
|
157
157
|
metadata:
|
158
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-propagator-vitess/0.
|
158
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-propagator-vitess/0.2.0/file/CHANGELOG.md
|
159
159
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/propagator/vitess
|
160
160
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
161
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-propagator-vitess/0.
|
162
|
-
post_install_message:
|
161
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-propagator-vitess/0.2.0
|
162
|
+
post_install_message: ''
|
163
163
|
rdoc_options: []
|
164
164
|
require_paths:
|
165
165
|
- lib
|
@@ -167,15 +167,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
167
167
|
requirements:
|
168
168
|
- - ">="
|
169
169
|
- !ruby/object:Gem::Version
|
170
|
-
version: '3.
|
170
|
+
version: '3.1'
|
171
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
172
|
requirements:
|
173
173
|
- - ">="
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
|
-
rubygems_version: 3.
|
178
|
-
signing_key:
|
177
|
+
rubygems_version: 3.3.27
|
178
|
+
signing_key:
|
179
179
|
specification_version: 4
|
180
180
|
summary: Vitess Context Propagation Extension for the OpenTelemetry framework
|
181
181
|
test_files: []
|