opentelemetry-instrumentation-ruby_kafka 0.13.0 → 0.14.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 +6 -0
- data/lib/opentelemetry/instrumentation/ruby_kafka/patches/client.rb +2 -2
- data/lib/opentelemetry/instrumentation/ruby_kafka/patches/consumer.rb +2 -2
- data/lib/opentelemetry/instrumentation/ruby_kafka/patches/producer.rb +1 -1
- data/lib/opentelemetry/instrumentation/ruby_kafka/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efdf663c1ab42466547f6a820958b03e5fadd6150bdc357eab11cbd6b0eb64bf
|
4
|
+
data.tar.gz: f21945b3f64f3b73654cf9064000579075827d5882cdeeed97b7e974a764f54b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 594eaa61210d7b2a09151856caf6b502d48e2f4fd9edb12359e5b46976eb22a04a0a94f61a9bffb1032cba676cb060708a5822f9ffebe4bfa0972c408a136f29
|
7
|
+
data.tar.gz: e85d5207370d933b6aaba020b738f18de9a9039d0de65aaf54d389fec34e2c7004eecf2bd6af481de4fa31111e1a09fd0fc9950755032bc60fe953372cc1e624
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-ruby_kafka
|
2
2
|
|
3
|
+
### v0.14.0 / 2021-02-03
|
4
|
+
|
5
|
+
* BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
|
6
|
+
|
7
|
+
* ADDED: Replace getter and setter callables and remove rack specific propagators
|
8
|
+
|
3
9
|
### v0.13.0 / 2021-01-29
|
4
10
|
|
5
11
|
* FIXED: Add minimum gem version for ruby-kafka
|
@@ -21,7 +21,7 @@ module OpenTelemetry
|
|
21
21
|
attributes['messaging.kafka.partition'] = partition if partition
|
22
22
|
|
23
23
|
tracer.in_span("#{topic} send", attributes: attributes, kind: :producer) do
|
24
|
-
OpenTelemetry.propagation.
|
24
|
+
OpenTelemetry.propagation.inject(headers)
|
25
25
|
super
|
26
26
|
end
|
27
27
|
end
|
@@ -37,7 +37,7 @@ module OpenTelemetry
|
|
37
37
|
|
38
38
|
attributes['messaging.kafka.message_key'] = message.key if message.key
|
39
39
|
|
40
|
-
parent_context = OpenTelemetry.propagation.
|
40
|
+
parent_context = OpenTelemetry.propagation.extract(message.headers)
|
41
41
|
OpenTelemetry::Context.with_current(parent_context) do
|
42
42
|
tracer.in_span("#{topic} process", attributes: attributes, kind: :consumer) do
|
43
43
|
yield message
|
@@ -22,7 +22,7 @@ module OpenTelemetry
|
|
22
22
|
|
23
23
|
attributes['messaging.kafka.message_key'] = message.key if message.key
|
24
24
|
|
25
|
-
parent_context = OpenTelemetry.propagation.
|
25
|
+
parent_context = OpenTelemetry.propagation.extract(message.headers)
|
26
26
|
span_context = OpenTelemetry::Trace.current_span(parent_context).context
|
27
27
|
links = [OpenTelemetry::Trace::Link.new(span_context)] if span_context.valid?
|
28
28
|
|
@@ -47,7 +47,7 @@ module OpenTelemetry
|
|
47
47
|
}
|
48
48
|
|
49
49
|
links = batch.messages.map do |message|
|
50
|
-
span_context = OpenTelemetry::Trace.current_span(OpenTelemetry.propagation.
|
50
|
+
span_context = OpenTelemetry::Trace.current_span(OpenTelemetry.propagation.extract(message.headers)).context
|
51
51
|
OpenTelemetry::Trace::Link.new(span_context) if span_context.valid?
|
52
52
|
end
|
53
53
|
links.compact!
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-ruby_kafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.14.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.14.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: appraisal
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -187,10 +187,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
187
187
|
licenses:
|
188
188
|
- Apache-2.0
|
189
189
|
metadata:
|
190
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ruby_kafka/v0.
|
190
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ruby_kafka/v0.14.0/file.CHANGELOG.html
|
191
191
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/ruby_kafka
|
192
192
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
193
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ruby_kafka/v0.
|
193
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ruby_kafka/v0.14.0
|
194
194
|
post_install_message:
|
195
195
|
rdoc_options: []
|
196
196
|
require_paths:
|