opentelemetry-instrumentation-racecar 0.3.3 → 0.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7303ece8149daccdad4dd48f5485ed29d7931e54f8b822a9edc022cc2ceeb883
|
4
|
+
data.tar.gz: 50517d5478e1ffab6b7a2959b0c2bde0a3aca247df47e32b4810aa8da9d5860c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f1d556e7d60810e1311355e686ffb39b001ffb17fd96a26a131683c7ec65fad84f9c5229dd79a4c84acee17d1139860310838578391caa9d54b6caed7be1ae9
|
7
|
+
data.tar.gz: 186d7a43cc9808abb5f05810a0f32d69df23ed42f925b985e1070ac1c72da68f0695bb51e2e9399a0edf93148b4a9d8906d880919c183420aa2459a9a427d2e9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-racecar
|
2
2
|
|
3
|
+
### v0.4.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.3.4 / 2024-07-09
|
10
|
+
|
11
|
+
* FIXED: Suppress header access with symbol key deprecation warning in Racecar Instrumentation
|
12
|
+
|
3
13
|
### v0.3.3 / 2024-07-02
|
4
14
|
|
5
15
|
* DOCS: Fix CHANGELOGs to reflect a past breaking change
|
data/README.md
CHANGED
@@ -2,12 +2,11 @@
|
|
2
2
|
|
3
3
|
The Racecar instrumentation is a community-maintained instrumentation for [Racecar](https://github.com/zendesk/racecar), a client library for Apache Kafka.
|
4
4
|
|
5
|
-
|
6
5
|
## How do I get started?
|
7
6
|
|
8
7
|
Install the gem using:
|
9
8
|
|
10
|
-
```
|
9
|
+
```console
|
11
10
|
gem install opentelemetry-instrumentation-racecar
|
12
11
|
```
|
13
12
|
|
@@ -43,7 +42,7 @@ Example usage can be seen in the `./example` directory [here](https://github.com
|
|
43
42
|
|
44
43
|
The `opentelemetry-instrumentation-racecar` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`.
|
45
44
|
|
46
|
-
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry
|
45
|
+
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].
|
47
46
|
|
48
47
|
## License
|
49
48
|
|
@@ -54,4 +53,5 @@ The `opentelemetry-instrumentation-racecar` gem is distributed under the Apache
|
|
54
53
|
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
|
55
54
|
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
|
56
55
|
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
56
|
+
[slack-channel]: https://cloud-native.slack.com/archives/C01NWKKMKMY
|
57
57
|
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
|
@@ -4,6 +4,13 @@ module OpenTelemetry
|
|
4
4
|
module Instrumentation
|
5
5
|
# This class contains the ASN subsciber that instruments message processing
|
6
6
|
class ProcessMessageSubscriber
|
7
|
+
GETTER = if Gem::Version.new(::Rdkafka::VERSION) >= Gem::Version.new('0.13.0')
|
8
|
+
Context::Propagation.text_map_getter
|
9
|
+
else
|
10
|
+
OpenTelemetry::Common::Propagation.symbol_key_getter
|
11
|
+
end
|
12
|
+
private_constant :GETTER
|
13
|
+
|
7
14
|
def tracer
|
8
15
|
Racecar::Instrumentation.instance.tracer
|
9
16
|
end
|
@@ -11,7 +18,7 @@ module OpenTelemetry
|
|
11
18
|
def start(_name, _id, payload)
|
12
19
|
attrs = attributes(payload)
|
13
20
|
|
14
|
-
parent_context = OpenTelemetry.propagation.extract(payload[:headers], getter:
|
21
|
+
parent_context = OpenTelemetry.propagation.extract(payload[:headers], getter: GETTER)
|
15
22
|
parent_token = OpenTelemetry::Context.attach(parent_context)
|
16
23
|
|
17
24
|
span_context = OpenTelemetry::Trace.current_span(parent_context).context
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-racecar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.23.0
|
34
34
|
type: :runtime
|
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: 0.
|
40
|
+
version: 0.23.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: appraisal
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,28 +142,28 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
145
|
+
version: 1.69.1
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
152
|
+
version: 1.69.1
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rubocop-performance
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 1.23.0
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: 1.23.0
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: simplecov
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
187
|
+
version: 3.24.0
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
194
|
+
version: 3.24.0
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: yard
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -228,11 +228,11 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
228
228
|
licenses:
|
229
229
|
- Apache-2.0
|
230
230
|
metadata:
|
231
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-racecar/0.
|
231
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-racecar/0.4.0/file/CHANGELOG.md
|
232
232
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/racecar
|
233
233
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
234
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-racecar/0.
|
235
|
-
post_install_message:
|
234
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-racecar/0.4.0
|
235
|
+
post_install_message:
|
236
236
|
rdoc_options: []
|
237
237
|
require_paths:
|
238
238
|
- lib
|
@@ -240,15 +240,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
240
240
|
requirements:
|
241
241
|
- - ">="
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: '3.
|
243
|
+
version: '3.1'
|
244
244
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
245
245
|
requirements:
|
246
246
|
- - ">="
|
247
247
|
- !ruby/object:Gem::Version
|
248
248
|
version: '0'
|
249
249
|
requirements: []
|
250
|
-
rubygems_version: 3.
|
251
|
-
signing_key:
|
250
|
+
rubygems_version: 3.3.27
|
251
|
+
signing_key:
|
252
252
|
specification_version: 4
|
253
253
|
summary: Racecar instrumentation for the OpenTelemetry framework
|
254
254
|
test_files: []
|