opentelemetry-instrumentation-racecar 0.3.2 → 0.3.4
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: 433d0c1098ae5efb704f23e1647e028444db5a05e108ea29b509cf39f552349d
|
4
|
+
data.tar.gz: 6bcacff686c897624a8f5159a644621f29789ec0931aed4b98a49ab1eefe3497
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aea98bec642e753cc6171a8dbadd19aaa93a9a0254ed0caf7fa398cbc1873863e5ec88d40e04370c147fe8e74a912bb70ef4cee23d3c06d13b39ff058182fec9
|
7
|
+
data.tar.gz: 3fa97aee0779bcd2d688f5edae9c8bd4f4b6970362296bd72ad209c6941ef8ca9e03a06981f8c3d1c5f5af89384440ed3a2e439b61463507e06a9aee3f68761b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-racecar
|
2
2
|
|
3
|
+
### v0.3.4 / 2024-07-09
|
4
|
+
|
5
|
+
* FIXED: Suppress header access with symbol key deprecation warning in Racecar Instrumentation
|
6
|
+
|
7
|
+
### v0.3.3 / 2024-07-02
|
8
|
+
|
9
|
+
* DOCS: Fix CHANGELOGs to reflect a past breaking change
|
10
|
+
|
3
11
|
### v0.3.2 / 2024-04-30
|
4
12
|
|
5
13
|
* FIXED: Bundler conflict warnings
|
@@ -10,7 +18,7 @@
|
|
10
18
|
|
11
19
|
### v0.3.0 / 2023-09-07
|
12
20
|
|
13
|
-
*
|
21
|
+
* BREAKING CHANGE: Align messaging instrumentation operation names [#648](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/648)
|
14
22
|
|
15
23
|
### v0.2.1 / 2023-06-05
|
16
24
|
|
@@ -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.3.
|
4
|
+
version: 0.3.4
|
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-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 1.64.0
|
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:
|
152
|
+
version: 1.64.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rubocop-performance
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -228,10 +228,10 @@ 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.3.
|
231
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-racecar/0.3.4/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.3.
|
234
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-racecar/0.3.4
|
235
235
|
post_install_message:
|
236
236
|
rdoc_options: []
|
237
237
|
require_paths:
|