opentelemetry-propagator-vitess 0.1.0 → 0.1.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 +4 -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 +12 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16a3a26d6164f9b413051e9e957af5f35d438edb61a6479e2347e2debc2b2bae
|
4
|
+
data.tar.gz: ed899dfcbd76d2fe1aa1bd9ee7fc6f6585b10be8e0e426fcb53f6b176024815a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79715c0216a18c3ac89cf41ac3eb18577a49fb65feeed8fd3bb1f9b13dbfa3040a750786bdbb485eba4159e9436f056285eb0057e91e39ac32ea9b8ab7b1c572
|
7
|
+
data.tar.gz: 9553685b494a6375a12838e6e49eb470a5ecf9de8ff295d419c6e01630cfc28ce008d7253cbd7cc63fda0ec9abfad90cebf8570717d3704a72b38ad58a8908fc
|
data/CHANGELOG.md
CHANGED
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.1.
|
4
|
+
version: 0.1.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: 2024-
|
11
|
+
date: 2024-11-27 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.68.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: 1.
|
96
|
+
version: 1.68.0
|
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,14 @@ 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.1.
|
158
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-propagator-vitess/0.1.1/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.1.
|
162
|
-
post_install_message:
|
161
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-propagator-vitess/0.1.1
|
162
|
+
post_install_message: |
|
163
|
+
Ruby 3.0 has reached EoL 2024-04-23. OTel Ruby Contrib gems will no longer accept new features or bug fixes for Ruby 3.0 after 2025-01-15. Please upgrade to Ruby 3.1 or higher to continue receiving updates.
|
164
|
+
|
165
|
+
Rails 6.1 has reached EoL 2024-10-01. OTel Ruby Contrib gems will no longer accept new features or bug fixes for Rails 6.1 after 2025-01-15. Please upgrade to Rails 7.0 or higher to continue receiving updates.
|
163
166
|
rdoc_options: []
|
164
167
|
require_paths:
|
165
168
|
- lib
|