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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 133f65fac0ceb65bcee0a8999e31f5421b1d5bff31074700024207fdddd04db2
4
- data.tar.gz: 2fed53fb52f1daa811262fd1b50e515b2edd4752ec54ff273ff52a4421a4edd9
3
+ metadata.gz: efdf663c1ab42466547f6a820958b03e5fadd6150bdc357eab11cbd6b0eb64bf
4
+ data.tar.gz: f21945b3f64f3b73654cf9064000579075827d5882cdeeed97b7e974a764f54b
5
5
  SHA512:
6
- metadata.gz: 5056b08fd6bba75591875d2282faef9b7a05804edeb98654b5d576b1ceaaa5db20841abbd3531df1f1d209b240d3cd56f7309e85957cee88f068f6efd959da77
7
- data.tar.gz: 6a4560d370ca069a1d08b8ba61c40469c50d8a32c7958aa47ccbe0893966ab07e2d3f410c210a834719d85ea327ce2060ccada199352b13188c10c9d6cd7d355
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.text.inject(headers)
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.text.extract(message.headers)
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.text.extract(message.headers)
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.text.extract(message.headers)).context
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!
@@ -18,7 +18,7 @@ module OpenTelemetry
18
18
  }
19
19
 
20
20
  tracer.in_span("#{topic} send", attributes: attributes, kind: :producer) do
21
- OpenTelemetry.propagation.text.inject(headers)
21
+ OpenTelemetry.propagation.inject(headers)
22
22
  super
23
23
  end
24
24
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module RubyKafka
10
- VERSION = '0.13.0'
10
+ VERSION = '0.14.0'
11
11
  end
12
12
  end
13
13
  end
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.13.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-01-30 00:00:00.000000000 Z
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.13.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.13.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.13.0/file.CHANGELOG.html
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.13.0
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: